public static uint3x2 uint3x2(bool3x2 v) { return(new uint3x2(v)); }
public static uint3 hashwide(bool3x2 v) { return(select(uint3(0xDFF4F563u, 0x7069770Du, 0xD1224537u), uint3(0xE99ED6F3u, 0x48125549u, 0xEEE2123Bu), v.c0) + select(uint3(0xE3AD9FE5u, 0xCE1CF8BFu, 0x7BE39F3Bu), uint3(0xFAB9913Fu, 0xB4501269u, 0xE04B89FDu), v.c1)); }
public uint3x2(bool3x2 v) { this.c0 = math.select(new uint3(0u), new uint3(1u), v.c0); this.c1 = math.select(new uint3(0u), new uint3(1u), v.c1); }
public static bool2x3 transpose(bool3x2 v) { return(bool2x3( v.c0.x, v.c0.y, v.c0.z, v.c1.x, v.c1.y, v.c1.z)); }
public static uint hash(bool3x2 v) { return(csum(select(uint3(0x9C9F0823u, 0x5A9CA13Bu, 0xAFCDD5EFu), uint3(0xA88D187Du, 0xCF6EBA1Du, 0x9D88E5A1u), v.c0) + select(uint3(0xEADF0775u, 0x747A9D7Bu, 0x4111F799u), uint3(0xB5F05AF1u, 0xFD80290Bu, 0x8B65ADB7u), v.c1))); }
public fix64p3x2(bool3x2 v) { this.c0 = math.select(new fix64p3(fix64p.zero), new fix64p3(fix64p.One), v.c0); this.c1 = math.select(new fix64p3(fix64p.zero), new fix64p3(fix64p.One), v.c1); }
public static int3x2 int3x2(bool3x2 v) { return(new int3x2(v)); }
public static double3x2 double3x2(bool3x2 v) { return(new double3x2(v)); }
public double3x2(bool3x2 v) { this.c0 = math.select(new double3(0.0), new double3(1.0), v.c0); this.c1 = math.select(new double3(0.0), new double3(1.0), v.c1); }
public static uint3 hashwide(bool3x2 v) { return(select(uint3(0x4DDC6509u, 0x7CF083CBu, 0x5C4D6CEDu), uint3(0xF9137117u, 0xE857DCE1u, 0xF62213C5u), v.c0) + select(uint3(0x9CDAA959u, 0xAA269ABFu, 0xD54BA36Fu), uint3(0xFD0847B9u, 0x8189A683u, 0xB139D651u), v.c1)); }
public static uint hash(bool3x2 v) { return(csum(select(uint3(0x816EFB5Du, 0xA24E82B7u, 0x45A22087u), uint3(0xFC104C3Bu, 0x5FFF6B19u, 0x5E6CBF3Bu), v.c0) + select(uint3(0xB546F2A5u, 0xBBCF63E7u, 0xC53F4755u), uint3(0x6985C229u, 0xE133B0B3u, 0xC3E0A3B9u), v.c1))); }
public static uint hash(bool3x2 v) { return(csum(select(uint3(0xF648BEABu, 0x6BDB2B07u, 0xEF63C699u), uint3(0x9001903Fu, 0xA895B9CDu, 0x9D23B201u), v.c0) + select(uint3(0x4B01D3E1u, 0x7461CA0Du, 0x79725379u), uint3(0xD6258E5Bu, 0xEE390C97u, 0x9C8A2F05u), v.c1))); }
public static uint3 hashwide(bool3x2 v) { return(select(uint3(0x58399E77u, 0x5EAC29C9u, 0xFC6014F9u), uint3(0x6BF6693Fu, 0x9D1B1D9Bu, 0xF842F5C1u), v.c0) + select(uint3(0xA47EC335u, 0xA477DF57u, 0xC4B1493Fu), uint3(0xBA0966D3u, 0xAFBEE253u, 0x5B419C01u), v.c1)); }
public static uint hash(bool3x2 v) { return(csum(select(uint3(0xD1224537u, 0xE99ED6F3u, 0x48125549u), uint3(0xEEE2123Bu, 0xE3AD9FE5u, 0xCE1CF8BFu), v.c0) + select(uint3(0x7BE39F3Bu, 0xFAB9913Fu, 0xB4501269u), uint3(0xE04B89FDu, 0xDB3DE101u, 0x7B6D1B4Bu), v.c1))); }
public static float3x2 float3x2(bool3x2 v) { return(new float3x2(v)); }
public int3x2(bool3x2 v) { this.c0 = math.select(new int3(0), new int3(1), v.c0); this.c1 = math.select(new int3(0), new int3(1), v.c1); }
public float3x2(bool3x2 v) { this.c0 = math.select(new float3(0.0f), new float3(1.0f), v.c0); this.c1 = math.select(new float3(0.0f), new float3(1.0f), v.c1); }
public static fix64p3x2 fix64p3x2(bool3x2 v) { return(new fix64p3x2(v)); }