Beispiel #1
0
 public int2x2(float2x2 v)
 {
     this.c0 = (int2)v.c0;
     this.c1 = (int2)v.c1;
 }
Beispiel #2
0
 public static int2x4 int2x4(int2 c0, int2 c1, int2 c2, int2 c3)
 {
     return(new int2x4(c0, c1, c2, c3));
 }
Beispiel #3
0
 public int2x2(uint v)
 {
     this.c0 = (int2)v;
     this.c1 = (int2)v;
 }
Beispiel #4
0
 public int2x2(sfloat v)
 {
     this.c0 = (int2)(int)v;
     this.c1 = (int2)(int)v;
 }
Beispiel #5
0
 public int2x2(bool2x2 v)
 {
     this.c0 = math.select(new int2(0), new int2(1), v.c0);
     this.c1 = math.select(new int2(0), new int2(1), v.c1);
 }
Beispiel #6
0
 public static int2x2 int2x2(int2 c0, int2 c1)
 {
     return(new int2x2(c0, c1));
 }
Beispiel #7
0
 public int2x2(int v)
 {
     this.c0 = v;
     this.c1 = v;
 }
Beispiel #8
0
 public int2x2(int m00, int m01,
               int m10, int m11)
 {
     this.c0 = new int2(m00, m10);
     this.c1 = new int2(m01, m11);
 }
Beispiel #9
0
 public int2x2(int2 c0, int2 c1)
 {
     this.c0 = c0;
     this.c1 = c1;
 }