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