angleToSigned method
Returns the signed angle between this and other
in radians.
Implementation
double angleToSigned(Vector2 other) {
final Float64List otherStorage = other._v2storage;
if (_v2storage[0] == otherStorage[0] && _v2storage[1] == otherStorage[1]) {
return 0.0;
}
final double s = cross(other);
final double c = dot(other);
return math.atan2(s, c);
}