コード例 #1
0
 public static uint2x3 uint2x3(double2x3 v)
 {
     return(new uint2x3(v));
 }
コード例 #2
0
 public uint2x3(double2x3 v)
 {
     this.c0 = (uint2)v.c0;
     this.c1 = (uint2)v.c1;
     this.c2 = (uint2)v.c2;
 }
コード例 #3
0
 public static float2x3 float2x3(double2x3 v)
 {
     return(new float2x3(v));
 }
コード例 #4
0
 public float2x3(double2x3 v)
 {
     this.c0 = (float2)v.c0;
     this.c1 = (float2)v.c1;
     this.c2 = (float2)v.c2;
 }
コード例 #5
0
 public static int2x3 int2x3(double2x3 v)
 {
     return(new int2x3(v));
 }
コード例 #6
0
 public static uint hash(double2x3 v)
 {
     return(csum(fold_to_uint(v.c0) * uint2(0xEEE2123Bu, 0xE3AD9FE5u) +
                 fold_to_uint(v.c1) * uint2(0xCE1CF8BFu, 0x7BE39F3Bu) +
                 fold_to_uint(v.c2) * uint2(0xFAB9913Fu, 0xB4501269u)) + 0xE04B89FDu);
 }