Beispiel #1
0
 public static double2x3 double2x3(float2x3 v)
 {
     return(new double2x3(v));
 }
Beispiel #2
0
 public static uint2 hashwide(float2x3 v)
 {
     return((asuint(v.c0) * uint2(0xB139D651u, 0xE7579997u) +
             asuint(v.c1) * uint2(0xEF7D56C7u, 0x66F38F0Bu) +
             asuint(v.c2) * uint2(0x624256A3u, 0x5292ADE1u)) + 0xD2E590E5u);
 }
Beispiel #3
0
 public double2x3(float2x3 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
 }
 public static uint2x3 uint2x3(float2x3 v)
 {
     return(new uint2x3(v));
 }
Beispiel #5
0
 public static uint hash(float2x3 v)
 {
     return(csum(asuint(v.c0) * uint2(0xE857DCE1u, 0xF62213C5u) +
                 asuint(v.c1) * uint2(0x9CDAA959u, 0xAA269ABFu) +
                 asuint(v.c2) * uint2(0xD54BA36Fu, 0xFD0847B9u)) + 0x8189A683u);
 }
Beispiel #6
0
 public static uint2 hashwide(float2x3 v)
 {
     return((asuint(v.c0) * uint2(0xFC104C3Bu, 0x5FFF6B19u) +
             asuint(v.c1) * uint2(0x5E6CBF3Bu, 0xB546F2A5u) +
             asuint(v.c2) * uint2(0xBBCF63E7u, 0xC53F4755u)) + 0x6985C229u);
 }
 public uint2x3(float2x3 v)
 {
     this.c0 = (uint2)v.c0;
     this.c1 = (uint2)v.c1;
     this.c2 = (uint2)v.c2;
 }
 public static int2x3 int2x3(float2x3 v)
 {
     return(new int2x3(v));
 }
Beispiel #9
0
 public static uint hash(float2x3 v)
 {
     return(csum(asuint(v.c0) * uint2(0xFA62D721u, 0x7E4DB1CFu) +
                 asuint(v.c1) * uint2(0x68EEE0F5u, 0xBC3B0A59u) +
                 asuint(v.c2) * uint2(0x816EFB5Du, 0xA24E82B7u)) + 0x45A22087u);
 }
 public static uint2 hashwide(float2x3 v)
 {
     return((asuint(v.c0) * uint2(0x7E4DB1CFu, 0x68EEE0F5u) +
             asuint(v.c1) * uint2(0xBC3B0A59u, 0x816EFB5Du) +
             asuint(v.c2) * uint2(0xA24E82B7u, 0x45A22087u)) + 0xFC104C3Bu);
 }
 public static uint hash(float2x3 v)
 {
     return(csum(asuint(v.c0) * uint2(0xC8B86851u, 0x64095221u) +
                 asuint(v.c1) * uint2(0xADF428FFu, 0xA3977109u) +
                 asuint(v.c2) * uint2(0x745ED837u, 0x9CDC88F5u)) + 0xFA62D721u);
 }
 public static uint hash(float2x3 v)
 {
     return(csum(asuint(v.c0) * uint2(0xFD80290Bu, 0x8B65ADB7u) +
                 asuint(v.c1) * uint2(0xDFF4F563u, 0x7069770Du) +
                 asuint(v.c2) * uint2(0xD1224537u, 0xE99ED6F3u)) + 0x48125549u);
 }
Beispiel #13
0
 public static fix64p2x3 fix64p2x3(float2x3 v)
 {
     return(new fix64p2x3(v));
 }
Beispiel #14
0
 public fix64p2x3(float2x3 v)
 {
     this.c0 = (fix64p2)v.c0;
     this.c1 = (fix64p2)v.c1;
     this.c2 = (fix64p2)v.c2;
 }