Commit graph

11 commits

Author SHA1 Message Date
09c5e29f63 Add a vector translation multiplication test 2014-08-16 16:57:08 -07:00
dc6efc5e65 Fix up Transposed -> Tranpose in unit tests 2014-08-16 00:44:07 -07:00
4d4dc91ff4 Add Matrix4 Inverse and Transpose
Transpose is easy, with a bool flag to determine whether to access elements in row-major or column-major format. Inverse is more difficult, so this change only does translation inverses.
2014-08-10 16:57:34 -07:00
51fbba95e7 Rename some matrix tests 2014-08-10 11:39:05 -07:00
96f782c4ac Add tests for matrix multiplication
By identity matrix
With vectors
2014-08-10 09:41:48 -07:00
a5f451a120 Basics unit tests found some bugs! 2014-08-09 22:00:54 -07:00
a955106d18 Implement a Matrix4 class
A 4x4 matrix that implements matrix multiplication and multiplication by
scalars. Some unit tests too, to test that this stuff works.
2014-08-07 22:12:53 -07:00
dc1849a786 Test reverse subtraction (v2 - v1) 2014-08-03 10:51:38 -07:00
6fcfcd09b5 Add div and length tests for Vector3 2013-09-13 11:14:34 -07:00
25e7ed2b21 Add a bunch of tests for Vector3 2013-09-13 11:10:07 -07:00
e8a6099158 Move main() and test code for basics to C++ 2013-09-12 16:16:29 -07:00