Exemple #1
0
 public uint2(float2 v)
 {
     this.x = (uint)v.x;
     this.y = (uint)v.y;
 }
Exemple #2
0
 public float2x3(uint v)
 {
     this.c0 = v;
     this.c1 = v;
     this.c2 = v;
 }
Exemple #3
0
 public static uint2 uint2(float2 v)
 {
     return(new uint2(v));
 }
Exemple #4
0
 public float2x3(int2x3 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
 }
Exemple #5
0
 public float2x3(bool2x3 v)
 {
     this.c0 = math.select(new float2(sfloat.Zero), new float2(sfloat.One), v.c0);
     this.c1 = math.select(new float2(sfloat.Zero), new float2(sfloat.One), v.c1);
     this.c2 = math.select(new float2(sfloat.Zero), new float2(sfloat.One), v.c2);
 }
Exemple #6
0
 public float2x3(sfloat v)
 {
     this.c0 = v;
     this.c1 = v;
     this.c2 = v;
 }
Exemple #7
0
 public static float2x3 float2x3(float2 c0, float2 c1, float2 c2) { return new float2x3(c0, c1, c2); }
Exemple #8
0
 public float2x3(float2 c0, float2 c1, float2 c2)
 {
     this.c0 = c0;
     this.c1 = c1;
     this.c2 = c2;
 }