Esempio n. 1
0
 public float2x2(int2x2 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
 }
Esempio n. 2
0
 public float2x2(uint v)
 {
     this.c0 = v;
     this.c1 = v;
 }
Esempio n. 3
0
 public static float2x2 float2x2(float2 c0, float2 c1)
 {
     return(new float2x2(c0, c1));
 }
Esempio n. 4
0
 public float2x2(bool2x2 v)
 {
     this.c0 = math.select(new float2(0.0f), new float2(1.0f), v.c0);
     this.c1 = math.select(new float2(0.0f), new float2(1.0f), v.c1);
 }
Esempio n. 5
0
 public float2x2(float v)
 {
     this.c0 = v;
     this.c1 = v;
 }
Esempio n. 6
0
 public float2x2(float m00, float m01,
                 float m10, float m11)
 {
     this.c0 = new float2(m00, m10);
     this.c1 = new float2(m01, m11);
 }
Esempio n. 7
0
 public float2x2(float2 c0, float2 c1)
 {
     this.c0 = c0;
     this.c1 = c1;
 }
Esempio n. 8
0
 public float2x2(double2x2 v)
 {
     this.c0 = (float2)v.c0;
     this.c1 = (float2)v.c1;
 }
Esempio n. 9
0
 public float2x2(double v)
 {
     this.c0 = (float2)v;
     this.c1 = (float2)v;
 }