float length2(vector2 v)
float length2(vector v)
float length2(vector4 v)
ベクトルの長さの2乗を返します。
Examples ¶
length2({0.5, 0.75, 0}) == 0.8125;
See also | |
measure |
|
vector |