summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/geometry.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/geometry.h')
-rw-r--r--libdimension/dimension/geometry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/dimension/geometry.h b/libdimension/dimension/geometry.h
index 74807f7..ba8f531 100644
--- a/libdimension/dimension/geometry.h
+++ b/libdimension/dimension/geometry.h
@@ -331,7 +331,7 @@ dmnsn_vector_norm(dmnsn_vector n)
/** Return the direction of a vector. */
DMNSN_INLINE dmnsn_vector
-dmnsn_vector_normalize(dmnsn_vector n)
+dmnsn_vector_normalized(dmnsn_vector n)
{
/* 1 sqrt, 3 divisions, 3 multiplications, 2 additions */
return dmnsn_vector_div(n, dmnsn_vector_norm(n));