glimpse-graphics
1.2.0
common
glimpse-core
/
graphics.glimpse.types
/
normalize
normalize
common
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
.