core
/
graphics.glimpse.types
/
normalize
common
normalize
fun
normalize
(vector:
Vec2
):
Vec2
Content copied to clipboard
fun
normalize
(vector:
Vec3
):
Vec3
Content copied to clipboard
Returns a unit vector in the direction of the given
vector
.