Example #1
0
 public Quat(Vec4 vec)
 {
     X = vec.X; Y = vec.Y; Z = vec.Z; W = vec.W;
 }
Example #2
0
 public static void GBy(this byte[] arr, Vec4 val, int offset = 0)
 { fixed(byte *ptr = arr) * (  Vec4 *)(ptr + offset) = val; }
Example #3
0
 public Vec3(Vec4 vec)
 {
     X = vec.X; Y = vec.Y; Z = vec.Z;
 }
Example #4
0
 public Vec2(Vec4 vec)
 {
     X = vec.X; Y = vec.Y;
 }