Esempio n. 1
0
 public static float3x2 float3x2(uint3x2 v)
 {
     return(new float3x2(v));
 }
Esempio n. 2
0
 public float3x2(uint3x2 v)
 {
     this.c0 = new float3(v.c0);
     this.c1 = new float3(v.c1);
 }
Esempio n. 3
0
 public int3x2(uint3x2 v)
 {
     this.c0 = (int3)v.c0;
     this.c1 = (int3)v.c1;
 }
Esempio n. 4
0
 public static int3x2 int3x2(uint3x2 v)
 {
     return(new int3x2(v));
 }
Esempio n. 5
0
 public static uint3 hashwide(uint3x2 v)
 {
     return((v.c0 * uint3(0x7A1541C9u, 0xF83BD927u, 0x6A243BCBu) +
             v.c1 * uint3(0x509B84C9u, 0x91D13847u, 0x52F7230Fu)) + 0xCF286E83u);
 }
Esempio n. 6
0
 public static uint hash(uint3x2 v)
 {
     return(csum(v.c0 * uint3(0x515D90F5u, 0xEC9F68F3u, 0xF9EA92D5u) +
                 v.c1 * uint3(0xC2FAFCB9u, 0x616E9CA1u, 0xC5C5394Bu)) + 0xCAE78587u);
 }
Esempio n. 7
0
 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));
 }