giawa / opengl4csharp

OpenGL 4 Bindings (partially based on OpenTK) for C#
Other
232 stars 61 forks source link

Add Matrix2 and tests #18

Closed TheAIBot closed 5 years ago

TheAIBot commented 5 years ago

Added a matrix2 struct. It's essentially a copy of Matrix3 that has been modified to be a 2x2 matrix. I also added tests to all the functionality that Matrix2 provides. The tests are based on the tests for Matrix3.

giawa commented 5 years ago

Do you mind fixing up any documentation that is no longer relevant? For example, when computing the Inverse "Creates the inverse matrix using Gauss-Jordan elimination with partial pivoting." not longer applies.

TheAIBot commented 5 years ago

Alright i think i caught all places where the documentation was outdated. I also added some more documentation to some of the methods.

giawa commented 5 years ago

Looks good!