public static uint3 hash_wide(double3x2 v)
 {
     return((fold_to_uint(v.c0) * uint3(0x9BC17CE7u, 0xC8B86851u, 0x64095221u) +
             fold_to_uint(v.c1) * uint3(0xADF428FFu, 0xA3977109u, 0x745ED837u)) + 0x9CDC88F5u);
 }
Esempio n. 2
0
 public int3x2(double3x2 v)
 {
     this.c0 = (int3)v.c0;
     this.c1 = (int3)v.c1;
 }
 public static double2x3 transpose(double3x2 v)
 {
     return(double2x3(
                v.c0.x, v.c0.y, v.c0.z,
                v.c1.x, v.c1.y, v.c1.z));
 }
 public static uint hash(double3x2 v)
 {
     return(csum(fold_to_uint(v.c0) * uint3(0xE7579997u, 0xEF7D56C7u, 0x66F38F0Bu) +
                 fold_to_uint(v.c1) * uint3(0x624256A3u, 0x5292ADE1u, 0xD2E590E5u)) + 0xF25BE857u);
 }
Esempio n. 5
0
 public static int3x2 int3x2(double3x2 v)
 {
     return(new int3x2(v));
 }
Esempio n. 6
0
 public static uint3x2 uint3x2(double3x2 v)
 {
     return(new uint3x2(v));
 }
Esempio n. 7
0
 public static float3x2 float3x2(double3x2 v)
 {
     return(new float3x2(v));
 }
Esempio n. 8
0
 public float3x2(double3x2 v)
 {
     this.c0 = (float3)v.c0;
     this.c1 = (float3)v.c1;
 }
Esempio n. 9
0
 public static uint hash(double3x2 v)
 {
     return(csum(fold_to_uint(v.c0) * uint3(0xE16BC89Du, 0x7AA07CD3u, 0xAF642BA9u) +
                 fold_to_uint(v.c1) * uint3(0xA8F2213Bu, 0x9F3FDC37u, 0xAC60D0C3u)) + 0x9263662Fu);
 }
Esempio n. 10
0
 public static uint3 hashwide(double3x2 v)
 {
     return((fold_to_uint(v.c0) * uint3(0xF62213C5u, 0x9CDAA959u, 0xAA269ABFu) +
             fold_to_uint(v.c1) * uint3(0xD54BA36Fu, 0xFD0847B9u, 0x8189A683u)) + 0xB139D651u);
 }
Esempio n. 11
0
 public static uint hash(double3x2 v)
 {
     return(csum(fold_to_uint(v.c0) * uint3(0xEE390C97u, 0x9C8A2F05u, 0x4DDC6509u) +
                 fold_to_uint(v.c1) * uint3(0x7CF083CBu, 0x5C4D6CEDu, 0xF9137117u)) + 0xE857DCE1u);
 }