diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-18 11:58:18 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-18 21:05:41 -0600 |
commit | fe3bd7a078ac758792da7338d480b274e6aa4895 (patch) | |
tree | 2757c92940b80f9519e70ffbb727b9d65c9bf27b /libdimension/dimension/geometry.h | |
parent | 8a0acb317cf4870b3893849e6565833c611095bd (diff) | |
download | dimension-fe3bd7a078ac758792da7338d480b274e6aa4895.tar.xz |
Rename to dmnsn_vector_normalized().
Diffstat (limited to 'libdimension/dimension/geometry.h')
-rw-r--r-- | libdimension/dimension/geometry.h | 2 |
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)); |