public int4x2(bool4x2 v) { this.c0 = math.select(new int4(0), new int4(1), v.c0); this.c1 = math.select(new int4(0), new int4(1), v.c1); }
public static int4x2 int4x2(bool4x2 v) { return(new int4x2(v)); }
public uint4x2(bool4x2 v) { this.c0 = math.select(new uint4(0u), new uint4(1u), v.c0); this.c1 = math.select(new uint4(0u), new uint4(1u), v.c1); }
public static uint4x2 uint4x2(bool4x2 v) { return(new uint4x2(v)); }
public float4x2(bool4x2 v) { this.c0 = math.select(new float4(sfloat.Zero), new float4(sfloat.One), v.c0); this.c1 = math.select(new float4(sfloat.Zero), new float4(sfloat.One), v.c1); }
public static float4x2 float4x2(bool4x2 v) { return(new float4x2(v)); }