示例#1
0
文件: ivec2.cs 项目: xinfushe/SoftGL
 /// <summary>
 ///
 /// </summary>
 /// <param name="v"></param>
 public ivec2(ivec3 v)
 {
     this.x = v.x;
     this.y = v.y;
 }
示例#2
0
 public static ivec4 ivec4(ivec3 xyz, int w)
 {
     return(new ivec4(xyz, w));
 }
示例#3
0
 public static ivec4 ivec4(int x, ivec3 yzw)
 {
     return(new ivec4(x, yzw.x, yzw.y, yzw.z));
 }
示例#4
0
 public static ivec2 ivec2(ivec3 v)
 {
     return(new ivec2(v.x, v.y));
 }