Calculate the length of a vector
float length(float x)
float length(vec2 x)
float length(vec3 x)
float length(vec4 x)
x
specifies a vector of which to calculate the length.
length()
returns the length of the vector.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Calculate the length of a vector
float length(float x)
float length(vec2 x)
float length(vec3 x)
float length(vec4 x)
x
specifies a vector of which to calculate the length.
length()
returns the length of the vector.