diff options
Diffstat (limited to 'src/code/sys_math3d.c')
| -rw-r--r-- | src/code/sys_math3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/sys_math3d.c b/src/code/sys_math3d.c index a1964ec11..62dd7b435 100644 --- a/src/code/sys_math3d.c +++ b/src/code/sys_math3d.c @@ -427,14 +427,14 @@ f32 Math3D_Dist2D(f32 x0, f32 y0, f32 x1, f32 y1) { } /** - * Returns the magntiude (length) squared of `vec` + * Returns the magnitude (length) squared of `vec` */ f32 Math3D_Vec3fMagnitudeSq(Vec3f* vec) { return SQ(vec->x) + SQ(vec->y) + SQ(vec->z); } /** - * Returns the magnitude(length) of `vec` + * Returns the magnitude (length) of `vec` */ f32 Math3D_Vec3fMagnitude(Vec3f* vec) { return sqrt(Math3D_Vec3fMagnitudeSq(vec)); |
