From 6dde1e90264053199692b96bd4ee23ae4d939ceb Mon Sep 17 00:00:00 2001 From: Fazana <52551480+FazanaJ@users.noreply.github.com> Date: Fri, 1 Oct 2021 17:58:39 +0100 Subject: [PATCH] semi colon --- src/engine/math_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/math_util.c b/src/engine/math_util.c index 751fff0c..c2669b27 100644 --- a/src/engine/math_util.c +++ b/src/engine/math_util.c @@ -776,7 +776,7 @@ void vec3f_get_dist_and_angle(Vec3f from, Vec3f to, f32 *dist, s16 *pitch, s16 * register f32 xs = x * x; register f32 zs = z * z; - *dist = sqrtf(xs + zs + y * y) + *dist = sqrtf(xs + zs + y * y); *pitch = atan2s(sqrtf(xs + zs), y); *yaw = atan2s(z, x); }