예제 #1
0
 public static vec4 vec4(vec2 xy, double z, double w)
 {
     return(new vec4(xy.x, xy.y, (float)z, (float)w));
 }
예제 #2
0
 public static vec4 vec4(double x, double y, vec2 zw)
 {
     return(new vec4((float)x, (float)y, zw.x, zw.y));
 }
예제 #3
0
 public static vec4 vec4(vec2 xy, vec2 zw)
 {
     return(new vec4(xy.x, xy.y, zw.x, zw.y));
 }
예제 #4
0
 public static vec3 vec3(double x, vec2 yz)
 {
     return(new vec3((float)x, yz.x, yz.y));
 }
예제 #5
0
 public static vec3 vec3(vec2 xy, double z)
 {
     return(new vec3(xy.x, xy.y, (float)z));
 }
예제 #6
0
파일: vector.cs 프로젝트: xinfushe/SoftGL
 public static vec2 mix(vec2 left, vec2 right, float alpha)
 {
     throw new NotImplementedException();
 }