Exemple #1
0
 public bool Equals(Short2 other)
 {
     return(this == other);
 }
Exemple #2
0
 void IPackedVector.PackFromVector4(Vector4 vector)
 {
     _short2Packed = Short2.PackInTwo(vector.X, vector.Y);
 }
Exemple #3
0
 public bool Equals(Short2 other)
 {
     throw new NotImplementedException();
 }
Exemple #4
0
 public Short2(float x, float y)
 {
     this._short2Packed = Short2.PackInTwo(x, y);
 }
Exemple #5
0
 public Short2(Vector2 vector)
 {
     this._short2Packed = Short2.PackInTwo(vector.X, vector.Y);
 }
Exemple #6
0
 public Short2(Single x, Single y)
 {
     short2Packed = Short2.PackInTwo(x, y);
 }