Beispiel #1
0
 public float3x2(uint3x2 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
 }
 public static uint3 hashwide(uint3x2 v)
 {
     return((v.c0 * uint3(0x9001903Fu, 0xA895B9CDu, 0x9D23B201u) +
             v.c1 * uint3(0x4B01D3E1u, 0x7461CA0Du, 0x79725379u)) + 0xD6258E5Bu);
 }
Beispiel #3
0
 public static float3x2 float3x2(uint3x2 v)
 {
     return(new float3x2(v));
 }
 public static uint2x3 transpose(uint3x2 v)
 {
     return(uint2x3(
                v.c0.x, v.c0.y, v.c0.z,
                v.c1.x, v.c1.y, v.c1.z));
 }
 public static uint hash(uint3x2 v)
 {
     return(csum(v.c0 * uint3(0xE121E6ADu, 0xC9CA1249u, 0x69B60C81u) +
                 v.c1 * uint3(0xE0EB6C25u, 0xF648BEABu, 0x6BDB2B07u)) + 0xEF63C699u);
 }
Beispiel #6
0
 public static uint hash(uint3x2 v)
 {
     return(csum(v.c0 * uint3(0x515D90F5u, 0xEC9F68F3u, 0xF9EA92D5u) +
                 v.c1 * uint3(0xC2FAFCB9u, 0x616E9CA1u, 0xC5C5394Bu)) + 0xCAE78587u);
 }
Beispiel #7
0
 public static uint3 hashwide(uint3x2 v)
 {
     return((v.c0 * uint3(0x7A1541C9u, 0xF83BD927u, 0x6A243BCBu) +
             v.c1 * uint3(0x509B84C9u, 0x91D13847u, 0x52F7230Fu)) + 0xCF286E83u);
 }
Beispiel #8
0
 public static int3x2 int3x2(uint3x2 v)
 {
     return(new int3x2(v));
 }
Beispiel #9
0
 public int3x2(uint3x2 v)
 {
     this.c0 = (int3)v.c0;
     this.c1 = (int3)v.c1;
 }
Beispiel #10
0
 public double3x2(uint3x2 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
 }
Beispiel #11
0
 public static double3x2 double3x2(uint3x2 v)
 {
     return(new double3x2(v));
 }
Beispiel #12
0
 public static uint hash(uint3x2 v)
 {
     return(csum(v.c0 * uint3(0xDCAF0351u, 0x6E050B01u, 0x750FDBF5u) +
                 v.c1 * uint3(0x7F3DD499u, 0x52EAAEBBu, 0x4599C793u)) + 0x83B5E729u);
 }
 public static uint3 hashwide(uint3x2 v)
 {
     return((v.c0 * uint3(0xFC104C3Bu, 0x5FFF6B19u, 0x5E6CBF3Bu) +
             v.c1 * uint3(0xB546F2A5u, 0xBBCF63E7u, 0xC53F4755u)) + 0x6985C229u);
 }
 public static uint hash(uint3x2 v)
 {
     return(csum(v.c0 * uint3(0xFA62D721u, 0x7E4DB1CFu, 0x68EEE0F5u) +
                 v.c1 * uint3(0xBC3B0A59u, 0x816EFB5Du, 0xA24E82B7u)) + 0x45A22087u);
 }