Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 293 Bytes

Normalize.vec3.md

File metadata and controls

22 lines (11 loc) · 293 Bytes

Normalize(vec3)

Returns a vector with the same direction as vector, but with the lenght of 1.

vec3 normalize(vec3 vector)

Parameters

vector

Type: vec3

Returns

vec3

The normalized vector.