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;
See also | |
measure |
|
vector |