length2
float length2(vector2 v)
float length2(vector v)
float length2(vector4 v)
Returns the squared distance of the vector.
Examples
examples
length2({0.5, 0.75, 0}) == 0.8125;
float length2(vector2 v)
float length2(vector v)
float length2(vector4 v)
Returns the squared distance of the vector.
Examples
length2({0.5, 0.75, 0}) == 0.8125;