Ejemplo n.º 1
0
 public static Matrix rotate(float x, float y, float z)
 {
     return(MarshalMatrix.convert(MathInterface.rotate(x, y, z)));
 }
Ejemplo n.º 2
0
 public static Matrix transpose(Matrix mat)
 {
     return(MarshalMatrix.convert(MathInterface.transpose(MarshalMatrix.convert(mat))));
 }
Ejemplo n.º 3
0
 public static Matrix ortho(float left, float right, float bottom, float top, float zNear, float zFar)
 {
     return(MarshalMatrix.convert(MathInterface.orthographicMatrix(left, right, bottom, top, zNear, zFar)));
 }
Ejemplo n.º 4
0
 public static Matrix inverse(Matrix mat)
 {
     return(MarshalMatrix.convert(MathInterface.inverse(MarshalMatrix.convert(mat))));
 }
Ejemplo n.º 5
0
 public static Matrix perspective(float fovy, float aspectRatio, float zNear, float zFar)
 {
     return(MarshalMatrix.convert(MathInterface.perspectiveMatrix(fovy, aspectRatio, zNear, zFar)));
 }