Example #1
0
 public Matrix4 Transform(Matrix4 n)
 {
     return new Matrix4(new Vec4(Rotate(n.x.xyz)),new Vec4(Rotate(n.y.xyz)), new Vec4(Rotate(n.z.xyz)), new Vec4(Transform(n.w.xyz),1));
 }
Example #2
0
 private bool Eq(Matrix4 other)
 {
     return x == other.x && y == other.y && z == other.z && w == other.w;
 }