예제 #1
0
 public float DotProduct(Vector2i otherVector)
 {
     return(this.X * otherVector.X + this.Y * otherVector.Y);
 }
예제 #2
0
 public Vector2i(Vector2i source)
 {
     x = source.X;
     y = source.Y;
 }