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