using System; using System.Collections.Generic; using OpenTK.Mathematics; public class MyMatrix { public MyMatrix(float pRow0Column0, float pRow0Column1, float pRow0Column2, float pRow0Column3, float pRow1Column0, float pRow1Column1, float pRow1Column2, float pRow1Column3, float pRow2Column0, float pRow2Column1, float pRow2Column2, float pRow2Column3, float pRow3Column0, float pRow3Column1, float pRow3Column2, float pRow3Column3) { } public float GetElement(int pRow, int pColumn) { return -1; } public void SetElement(int pRow, int pColumn, float pValue) { } public static MyMatrix CreateIdentity() { return null; } public static MyMatrix CreateTranslation(MyVector pTranslation) { return null; } public static MyMatrix CreateScale(MyVector pScale) { return null; } public static MyMatrix CreateRotationX(float pAngle) { return null; } public static MyMatrix CreateRotationY(float pAngle) { return null; } public static MyMatrix CreateRotationZ(float pAngle) { return null; } public MyVector Multiply(MyVector pVector) { return null; } public MyMatrix Multiply(MyMatrix pMatrix) { return null; } public MyMatrix Inverse() { return null; } // this method takes our MyMatrix and converts it to an OpenTK Matrix4 // this looks a little odd as the OpenTK Matrix4 constructor takes the elements in row major order public Matrix4 ToMatrix4() { return Matrix4.Identity; } }