示例#1
0
文件: Vector.cs 项目: baguio/SSC-AI
 public float dot (Vector other) {
     return dx * other.dx + dy * other.dy;
 }
示例#2
0
文件: Vector.cs 项目: baguio/SSC-AI
 //>0 = right
 public float determinant (Vector other) {
     return dx * other.dy - dy * other.dx;
 }