public float dot (Vector other) { return dx * other.dx + dy * other.dy; }
//>0 = right public float determinant (Vector other) { return dx * other.dy - dy * other.dx; }