Normalize
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
| Line 4: | Line 4: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
| + | [[Category:Lua function]] | ||
| + | [[Category:3D math]] | ||
Revision as of 18:23, 4 February 2014
Returns a normalized vector :
vec = normalize(vec3(x, y, z))