normalize

fun Vector2f.normalize(): Vector2f

Returns the normalized form of a Vector2f.


fun Vector3d.normalize(): Vector3d

Returns the normalized form of a Vector3d.