Commit graph

12 commits

Author SHA1 Message Date
620d5a5bc6 Fill in missing Vector4 symbols
Add assignment and call operators, bool operators, etc
2014-08-10 11:38:55 -07:00
49d097a803 Get rid of Matrix<N,M>, just use Matrix4 2014-08-10 10:51:12 -07:00
74bbc87610 Trying to get this copy/move thing right between matrices and vectors 2014-08-10 09:42:02 -07:00
c49457a817 Implement Normalized, LinearCombination, and operator<< on Vector4s 2014-08-09 11:55:10 -07:00
217c4709aa Vector4's constructor takes default arguments 2014-08-09 10:08:44 -07:00
519eb347d1 Vector4 constructor from Matrix<4,1> 2014-08-09 09:57:35 -07:00
b41cdb7186 Vector4 +, -, negation, and *
+, -, and negation were easy. Multiplication is wacky because the Matrix class does it. So, to do binary * (not *=) I needed to dynamic_cast the resulting Matrix<4,1> to a Vector4&&.
2014-08-09 09:32:48 -07:00
9b6b6a20b7 Const versions of Vector4's X(), Y(), and Z() 2014-08-09 09:01:52 -07:00
fa3708edfb Implement a bunch of the useful Vector operations 2014-08-08 23:05:38 -07:00
2cadffd7d4 Fix Vector4 constructors and clean up compiler errors 2014-08-08 21:47:44 -07:00
da127ccde3 Vector4 subclass instead of typedef 2014-08-08 21:12:37 -07:00
3b713856db Vector, a single-column Matrix 2014-08-08 20:44:43 -07:00