length2 property Null safety
Length squared.
Implementation
double get length2 {
double sum;
sum = _v2storage[0] * _v2storage[0];
sum += _v2storage[1] * _v2storage[1];
return sum;
}
Length squared.
double get length2 {
double sum;
sum = _v2storage[0] * _v2storage[0];
sum += _v2storage[1] * _v2storage[1];
return sum;
}