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