Commit graph

30 commits

Author SHA1 Message Date
Brendan Zabarauskas
0482e268ae Switch matrix zero and identity functions to static methods 2012-11-20 19:06:49 +10:00
Brendan Zabarauskas
a06d2cff54 Make vector constructors static functions 2012-11-20 17:58:24 +10:00
Brendan Zabarauskas
788420b33f Rename modules to short, idiomatic names 2012-11-15 12:23:39 +10:00
Brendan Zabarauskas
8199cbe742 Create Dimensional trait 2012-11-15 12:22:41 +10:00
Brendan Zabarauskas
29e1231eef Add component-wise map, map2 and fold performance tests 2012-11-15 09:02:20 +10:00
Brendan Zabarauskas
a9273389ea Improve length tests and add distance tests 2012-11-14 17:55:55 +10:00
Luqman Aden
e904f91105 Determinant is only defined for square matricies. 2012-11-07 22:04:11 -05:00
Luqman Aden
520ba818e6 Fix determinant/inver for 2x2. 2012-11-07 21:52:16 -05:00
Luqman Aden
f7fb7f7100 Added determinants and inversion. 2012-11-07 21:34:38 -05:00
Brendan Zabarauskas
53a04a03f6 Remove vector-scalar addition/subtraction 2012-11-08 11:40:03 +10:00
Brendan Zabarauskas
bc30f193e7 Move projection.rs to funs module 2012-11-07 12:38:44 +10:00
Brendan Zabarauskas
1fe0d52fe4 Improve matrix multiplication 2012-11-07 08:38:44 +10:00
Brendan Zabarauskas
40e847f34f Move functions to funs module. Add additional functions as per the GLSL spec 2012-11-06 11:57:15 +10:00
Brendan Zabarauskas
1f61701d00 Create relational module 2012-11-05 20:31:52 +10:00
Brendan Zabarauskas
c3344b5a6f Use GLSL nomenclature 2012-11-05 17:40:31 +10:00
Brendan Zabarauskas
ae9112452a Make Vector traits more specific, add BooleanVector trait 2012-11-05 13:18:44 +10:00
Brendan Zabarauskas
59d4b33691 Remove superfluous type parameters 2012-11-05 11:58:08 +10:00
Brendan Zabarauskas
2790fda04e Add from_value vector constructors 2012-11-05 10:05:16 +10:00
Brendan Zabarauskas
b245244b7d Add more matrix constructors and corresponding tests 2012-11-04 16:27:41 +10:00
Brendan Zabarauskas
a0cd3f77d8 Reduce zero and one casts, implement new constructors 2012-11-04 14:39:09 +10:00
Brendan Zabarauskas
5f307b1a26 Move values in matrix constructors 2012-11-02 00:19:43 +10:00
Brendan Zabarauskas
12498701a1 Convert vector arrays to separate fields in matrix types 2012-11-02 00:06:12 +10:00
Brendan Zabarauskas
35058611f3 Rename and move constructors 2012-11-01 17:41:42 +10:00
Brendan Zabarauskas
bf6bf8b3e6 Make library generic 2012-11-01 11:34:38 +10:00
Brendan Zabarauskas
891736a2d7 improve method names 2012-10-30 14:35:02 +10:00
Brendan Zabarauskas
cc053d449d Add description 2012-10-30 12:35:39 +10:00
Brendan Zabarauskas
aac71ddc16 Add vector index operator performance test 2012-10-30 12:32:06 +10:00
Brendan Zabarauskas
c80b95da59 Moved constants to submodules 2012-10-30 00:11:27 +10:00
Brendan Zabarauskas
5d8319fff0 Fix collision of omath::vec and core::vec 2012-10-29 21:53:25 +10:00
Brendan Zabarauskas
e285c77238 Reorganise directories 2012-10-28 21:43:23 +10:00