Commit graph

10 commits

Author SHA1 Message Date
cd8bd144f6 [Math] Fix Matrix-Vector multiplication 2015-11-12 23:23:24 -08:00
541e7c38ef [Math] Move the multiplication to the * operator
*= must be done with a temporary variable first to avoid stepping on the other elements.
2015-11-01 20:40:27 -08:00
65823610c1 [Math] Fix my negation operator 2015-11-01 20:39:39 -08:00
f6740cae06 [Math] Add translation, scale, and rotation about single axis constructors for Matrix4 2015-11-01 20:15:13 -08:00
0778e62fd0 [Math] Make Matrix subscript setters mutable
I think this avoids making unnecessary copies of the matrix when setting data values.
2015-11-01 19:39:01 -08:00
acd879465c [Math] Working out some tests for matrices 2015-11-01 13:12:17 -08:00
bf9a4ba138 [Math] Remove some dead code 2015-11-01 07:31:11 -08:00
c6203f1af8 [Math] Fix up the matrices 2015-10-31 18:18:41 -07:00
d1bd19a356 Move vector stuff to its own Swift file and finish 'em up! 2015-10-29 10:56:31 -07:00
e7e53ba73c Rename Matrices.swift -> Matrix.swift 2015-10-29 07:51:36 -07:00
Renamed from Math/Math/Matrices.swift (Browse further)