Esempio n. 1
0
 public float3x4(uint3x4 v)
 {
     this.c0 = (int3)v.c0;
     this.c1 = (int3)v.c1;
     this.c2 = (int3)v.c2;
     this.c3 = (int3)v.c3;
 }
Esempio n. 2
0
 public static uint3 hashwide(uint3x4 v)
 {
     return((v.c0 * uint3(0x5EAC29C9u, 0xFC6014F9u, 0x6BF6693Fu) +
             v.c1 * uint3(0x9D1B1D9Bu, 0xF842F5C1u, 0xA47EC335u) +
             v.c2 * uint3(0xA477DF57u, 0xC4B1493Fu, 0xBA0966D3u) +
             v.c3 * uint3(0xAFBEE253u, 0x5B419C01u, 0x515D90F5u)) + 0xEC9F68F3u);
 }
Esempio n. 3
0
 public static uint hash(uint3x4 v)
 {
     return(csum(v.c0 * uint3(0xD1224537u, 0xE99ED6F3u, 0x48125549u) +
                 v.c1 * uint3(0xEEE2123Bu, 0xE3AD9FE5u, 0xCE1CF8BFu) +
                 v.c2 * uint3(0x7BE39F3Bu, 0xFAB9913Fu, 0xB4501269u) +
                 v.c3 * uint3(0xE04B89FDu, 0xDB3DE101u, 0x7B6D1B4Bu)) + 0x58399E77u);
 }
Esempio n. 4
0
 public static uint4x3 transpose(uint3x4 v)
 {
     return(uint4x3(
                v.c0.x, v.c0.y, v.c0.z,
                v.c1.x, v.c1.y, v.c1.z,
                v.c2.x, v.c2.y, v.c2.z,
                v.c3.x, v.c3.y, v.c3.z));
 }
Esempio n. 5
0
 public static int3x4 int3x4(uint3x4 v)
 {
     return(new int3x4(v));
 }