Commit graph

17 commits

Author SHA1 Message Date
8af03c3f3d Implement Object::Place
Places the object by manipulating its translation matrix.
2014-08-15 22:32:44 -07:00
97b37d3c53 Just little tweaks
Mostly style, also the name of the Transposed() function -> Transpose().
2014-08-11 07:58:47 -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
dd36ab6fe1 Fill in missing Matrix4 symbols 2014-08-10 11:39:25 -07:00
49d097a803 Get rid of Matrix<N,M>, just use Matrix4 2014-08-10 10:51:12 -07:00
a5f451a120 Basics unit tests found some bugs! 2014-08-09 22:00:54 -07:00
43cb182aa7 Have to use operator() for Matrix<>::operator*
Matrix<N,P> is a different class from Matrix<N,M> so Matrix<N,M> can't access protected member data on Matrix<N,P>. There must be a better way that having to do the multiplies requires for operator().
2014-08-09 09:57:09 -07:00
a3d51f7cf3 TranslationMatrix() is not static 2014-08-09 09:02:04 -07:00
8ccfbc0498 Scalar multiplication Doxygen group 2014-08-09 08:31:37 -07:00
9b076f1533 Implement more robust * and / for Matrix 2014-08-08 23:05:24 -07:00
b59b6d85c0 Add Matrix4, implement TranslationMatrix() 2014-08-08 22:14:20 -07:00
9474153736 Move Zero() and Identity() definitions to the right place 2014-08-08 22:13:51 -07:00
2cadffd7d4 Fix Vector4 constructors and clean up compiler errors 2014-08-08 21:47:44 -07:00
2b9fec5d82 Const operator== 2014-08-08 21:12:18 -07:00
bfd3b8cbce uint –> UInt 2014-08-08 21:12:06 -07:00
c5b9d73a96 Add constructors and operator== to Matrix<> 2014-08-08 20:44:31 -07:00
32b52ace93 Templated matrix class 2014-08-08 17:35:34 -07:00