예제 #1
0
 void IPackedVector.PackFromVector4(Vector4 vector)
 {
     _short2Packed = Short2.PackInTwo(vector.X, vector.Y);
 }
예제 #2
0
 public Short2(Vector2 vector)
 {
     this._short2Packed = Short2.PackInTwo(vector.X, vector.Y);
 }
예제 #3
0
 public Short2(float x, float y)
 {
     this._short2Packed = Short2.PackInTwo(x, y);
 }
예제 #4
0
 public Short2(Single x, Single y)
 {
     short2Packed = Short2.PackInTwo(x, y);
 }