Beispiel #1
0
 public static uint4x2 uint4x2(bool4x2 v)
 {
     return(new uint4x2(v));
 }
Beispiel #2
0
 public static bool2x4 transpose(bool4x2 v)
 {
     return(bool2x4(
                v.c0.x, v.c0.y, v.c0.z, v.c0.w,
                v.c1.x, v.c1.y, v.c1.z, v.c1.w));
 }
Beispiel #3
0
 public uint4x2(bool4x2 v)
 {
     this.c0 = math.select(new uint4(0u), new uint4(1u), v.c0);
     this.c1 = math.select(new uint4(0u), new uint4(1u), v.c1);
 }