Пример #1
0
 public static float2x3 float2x3(int2x3 v)
 {
     return(new float2x3(v));
 }
Пример #2
0
 public double2x3(int2x3 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
 }
Пример #3
0
 public static double2x3 double2x3(int2x3 v)
 {
     return(new double2x3(v));
 }
Пример #4
0
 public static uint2x3 uint2x3(int2x3 v)
 {
     return(new uint2x3(v));
 }
Пример #5
0
 public float2x3(int2x3 v)
 {
     this.c0 = v.c0;
     this.c1 = v.c1;
     this.c2 = v.c2;
 }
Пример #6
0
 public static uint2 hashwide(int2x3 v)
 {
     return((asuint(v.c0) * uint2(0xCF286E83u, 0xE121E6ADu) +
             asuint(v.c1) * uint2(0xC9CA1249u, 0x69B60C81u) +
             asuint(v.c2) * uint2(0xE0EB6C25u, 0xF648BEABu)) + 0x6BDB2B07u);
 }
Пример #7
0
 public uint2x3(int2x3 v)
 {
     this.c0 = (uint2)v.c0;
     this.c1 = (uint2)v.c1;
     this.c2 = (uint2)v.c2;
 }
Пример #8
0
 public static uint2 hash_wide(int2x3 v)
 {
     return((asuint(v.c0) * uint2(0xF62213C5u, 0x9CDAA959u) +
             asuint(v.c1) * uint2(0xAA269ABFu, 0xD54BA36Fu) +
             asuint(v.c2) * uint2(0xFD0847B9u, 0x8189A683u)) + 0xB139D651u);
 }
Пример #9
0
 public static uint hash(int2x3 v)
 {
     return(csum(asuint(v.c0) * uint2(0xCAE78587u, 0x7A1541C9u) +
                 asuint(v.c1) * uint2(0xF83BD927u, 0x6A243BCBu) +
                 asuint(v.c2) * uint2(0x509B84C9u, 0x91D13847u)) + 0x52F7230Fu);
 }
Пример #10
0
 public static uint hash(int2x3 v)
 {
     return(csum(asuint(v.c0) * uint2(0xEE390C97u, 0x9C8A2F05u) +
                 asuint(v.c1) * uint2(0x4DDC6509u, 0x7CF083CBu) +
                 asuint(v.c2) * uint2(0x5C4D6CEDu, 0xF9137117u)) + 0xE857DCE1u);
 }
Пример #11
0
 public fix64p2x3(int2x3 v)
 {
     this.c0 = (fix64p2)v.c0;
     this.c1 = (fix64p2)v.c1;
     this.c2 = (fix64p2)v.c2;
 }
Пример #12
0
 public static fix64p2x3 fix64p2x3(int2x3 v)
 {
     return(new fix64p2x3(v));
 }
Пример #13
0
 public static uint2 hashwide(int2x3 v)
 {
     return((asuint(v.c0) * uint2(0x9C8A2F05u, 0x4DDC6509u) +
             asuint(v.c1) * uint2(0x7CF083CBu, 0x5C4D6CEDu) +
             asuint(v.c2) * uint2(0xF9137117u, 0xE857DCE1u)) + 0xF62213C5u);
 }
Пример #14
0
 public static uint hash(int2x3 v)
 {
     return(csum(asuint(v.c0) * uint2(0xA895B9CDu, 0x9D23B201u) +
                 asuint(v.c1) * uint2(0x4B01D3E1u, 0x7461CA0Du) +
                 asuint(v.c2) * uint2(0x79725379u, 0xD6258E5Bu)) + 0xEE390C97u);
 }