Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="v"></param>
 public ivec2(ivec3 v)
 {
     this.x = v.x;
     this.y = v.y;
 }
 public static ivec4 ivec4(ivec3 xyz, int w)
 {
     return(new ivec4(xyz, w));
 }
 public static ivec4 ivec4(int x, ivec3 yzw)
 {
     return(new ivec4(x, yzw.x, yzw.y, yzw.z));
 }
 public static ivec2 ivec2(ivec3 v)
 {
     return(new ivec2(v.x, v.y));
 }