diff --git a/TheRepo/TheLabs/MyMatrix.cs b/TheRepo/TheLabs/MyMatrix.cs index c67ea6b..c2528e6 100644 --- a/TheRepo/TheLabs/MyMatrix.cs +++ b/TheRepo/TheLabs/MyMatrix.cs @@ -62,12 +62,20 @@ public class MyMatrix public static MyMatrix CreateIdentity() { - return null; + return new MyMatrix( + 1, 0, 0, 0, + 0, 1, 0, 0, + 0, 0, 1, 0, + 0, 0, 0, 1 + ); } public static MyMatrix CreateTranslation(MyVector pTranslation) { - return null; + return new MyMatrix(1f, 0f, 0f, 0f, + 0f, 1f, 0f, 0f, + 0f, 0f, 1f, 0f, + pTranslation.X, pTranslation.Y, pTranslation.Z, 1f); } public static MyMatrix CreateScale(MyVector pScale)