예제 #1
0
 public static double2 double2(half2 v)
 {
     return(new double2(v));
 }
예제 #2
0
파일: half2.cs 프로젝트: CyangYu/Raster
 public static uint2 hashwide(half2 v)
 {
     return((uint2(v.x.value, v.y.value) * uint2(0xEBD0D005u, 0x91475DF7u)) + 0x55E84827u);
 }
예제 #3
0
 public double2(half2 v)
 {
     this.x = v.x;
     this.y = v.y;
 }
예제 #4
0
파일: half2.cs 프로젝트: CyangYu/Raster
 public static half2 half2(half2 xy)
 {
     return(new half2(xy));
 }
예제 #5
0
파일: half2.cs 프로젝트: CyangYu/Raster
 public static uint hash(half2 v)
 {
     return(csum(uint2(v.x.value, v.y.value) * uint2(0x6E624EB7u, 0x7383ED49u)) + 0xDD49C23Bu);
 }
예제 #6
0
 public static float2 float2(half2 v)
 {
     return(new float2(v));
 }
예제 #7
0
파일: half2.cs 프로젝트: CyangYu/Raster
 public DebuggerProxy(half2 v)
 {
     x = v.x;
     y = v.y;
 }
예제 #8
0
 public float2(half2 v)
 {
     this.x = v.x;
     this.y = v.y;
 }
예제 #9
0
파일: half3.cs 프로젝트: CyangYu/Raster
 public half3(half2 xy, half z)
 {
     this.x = xy.x;
     this.y = xy.y;
     this.z = z;
 }
예제 #10
0
파일: half3.cs 프로젝트: CyangYu/Raster
 public half3(half x, half2 yz)
 {
     this.x = x;
     this.y = yz.x;
     this.z = yz.y;
 }
예제 #11
0
파일: half3.cs 프로젝트: CyangYu/Raster
 public static half3 half3(half2 xy, half z)
 {
     return(new half3(xy, z));
 }
예제 #12
0
파일: half3.cs 프로젝트: CyangYu/Raster
 public static half3 half3(half x, half2 yz)
 {
     return(new half3(x, yz));
 }