Brendan Zabarauskas
|
e1ed642f76
|
Restore boolean vectors in gltypes module and relational traits
I forgot that these would be useful for the AABB struct that will be implemented in the future.
|
2012-12-03 11:24:24 +10:00 |
|
Brendan Zabarauskas
|
ecc91acbbe
|
Rename num::ext module to num::kinds
|
2012-12-03 11:12:57 +10:00 |
|
Brendan Zabarauskas
|
7b3ae88c57
|
Use num::ext traits to simplify trait bounds
|
2012-12-03 11:10:14 +10:00 |
|
Brendan Zabarauskas
|
668186a2e2
|
Merge matrix traits, simplify gltypes, remove relational functions
Let's try to simplify this thing!
|
2012-12-03 08:15:40 +10:00 |
|
Brendan Zabarauskas
|
9595449b71
|
Formatting
|
2012-12-02 23:16:38 +10:00 |
|
Brendan Zabarauskas
|
5de6fbe5bb
|
Move methods from FloatConsts into Float trait and remove num::consts
|
2012-12-02 16:59:03 +10:00 |
|
Brendan Zabarauskas
|
4ce43ff18e
|
Add temporary fixes for weird type mismatch errors
|
2012-12-01 22:49:24 +10:00 |
|
Brendan Zabarauskas
|
f352cd68b4
|
Make projection functions public (woops!)
|
2012-11-30 15:15:11 +10:00 |
|
Brendan Zabarauskas
|
6d3620c9d7
|
Implement explicit self in trait methods
|
2012-11-30 13:13:20 +10:00 |
|
Brendan Zabarauskas
|
ea074faef5
|
Merge MinMax and Clamp traits together to form Extent trait
|
2012-11-29 22:19:42 +10:00 |
|
Brendan Zabarauskas
|
eeaf6cb3c1
|
Change fovy parameter to accept a generic angle
|
2012-11-29 15:59:45 +10:00 |
|
Brendan Zabarauskas
|
93d228f2f9
|
Remove apparently unnecessary Copy bounds
|
2012-11-29 15:49:43 +10:00 |
|
Brendan Zabarauskas
|
60388118d2
|
Implement common functions for angle types
|
2012-11-29 15:39:55 +10:00 |
|
Brendan Zabarauskas
|
f7008b8f3b
|
Implement inverse trigonometry functions for vector types
|
2012-11-27 09:54:09 +10:00 |
|
Brendan Zabarauskas
|
44fa552950
|
Update comment documentation
|
2012-11-26 22:45:55 +10:00 |
|
Brendan Zabarauskas
|
c3071b6260
|
Move axial rotation conversions to angle module
|
2012-11-26 17:31:02 +10:00 |
|
Brendan Zabarauskas
|
11b5b12d0a
|
Reorganise funs module to mirror chapter 8 of the GLSL spec
|
2012-11-26 16:48:46 +10:00 |
|
Brendan Zabarauskas
|
512b024350
|
Remove returns
|
2012-11-26 11:52:48 +10:00 |
|
Brendan Zabarauskas
|
5ebc44bdb1
|
Add abs and sign tests
|
2012-11-26 10:45:31 +10:00 |
|
Brendan Zabarauskas
|
351c0f91ff
|
Implement Trig and Hyp for vector types
|
2012-11-26 05:37:12 +10:00 |
|
Brendan Zabarauskas
|
5393e9a1f6
|
Divide Angle enum into separate Radians and Degrees types
|
2012-11-26 04:28:41 +10:00 |
|
Brendan Zabarauskas
|
eda42604b7
|
Use Angle type with triganomic functions
|
2012-11-26 03:44:24 +10:00 |
|
Brendan Zabarauskas
|
287fae7114
|
Add angle module
|
2012-11-26 02:26:01 +10:00 |
|
Brendan Zabarauskas
|
10f2b9b0b1
|
Remove generic type from pow method
|
2012-11-26 00:49:26 +10:00 |
|
Brendan Zabarauskas
|
b06c4c1459
|
Add smooth and smooth_step methods
|
2012-11-26 00:41:27 +10:00 |
|
Brendan Zabarauskas
|
89f5c6c3e7
|
Remove *_v methods
|
2012-11-26 00:08:35 +10:00 |
|
Brendan Zabarauskas
|
7ce41e6e9e
|
Add extent function unit tests
|
2012-11-25 21:27:49 +10:00 |
|
Brendan Zabarauskas
|
b6f6c37ce3
|
Add trait implementations for vector structs
|
2012-11-25 21:26:40 +10:00 |
|
Brendan Zabarauskas
|
167ca9a84d
|
Divide funs::common up into separate modules
|
2012-11-22 11:09:04 +10:00 |
|
Brendan Zabarauskas
|
bb63eb39b5
|
Fix capitalization of matrix conversion methods
|
2012-11-22 10:39:47 +10:00 |
|
Brendan Zabarauskas
|
a06d2cff54
|
Make vector constructors static functions
|
2012-11-20 17:58:24 +10:00 |
|
Brendan Zabarauskas
|
491a82ec28
|
Implement DefaultEq for matrix, vector and quaternion types
|
2012-11-20 15:35:06 +10:00 |
|
Brendan Zabarauskas
|
f6966abf21
|
Fix cmath function calls
|
2012-11-16 16:23:02 +10:00 |
|
Brendan Zabarauskas
|
788420b33f
|
Rename modules to short, idiomatic names
|
2012-11-15 12:23:39 +10:00 |
|
Brendan Zabarauskas
|
90ee516370
|
Move numeric-specific modules to num module, clean up imports
|
2012-11-15 10:31:35 +10:00 |
|
Brendan Zabarauskas
|
aada68c23e
|
Add mat3_from_rotation function
|
2012-11-14 18:23:15 +10:00 |
|
Brendan Zabarauskas
|
d62cefc543
|
Use trait inheritance
|
2012-11-14 16:13:27 +10:00 |
|
Brendan Zabarauskas
|
bac59d2332
|
Inherit Vector trait
|
2012-11-13 18:44:28 +10:00 |
|
Brendan Zabarauskas
|
ef3432bcc6
|
Remove mod_ method and function
|
2012-11-13 11:46:25 +10:00 |
|
Brendan Zabarauskas
|
683ebf88eb
|
Fix purity
|
2012-11-11 13:36:28 +10:00 |
|
Brendan Zabarauskas
|
9d73f0e94b
|
Moved mix methods into Mix trait
|
2012-11-11 13:35:13 +10:00 |
|
Brendan Zabarauskas
|
f0ca91e452
|
Update Trig, add AngleConv trait, remove Degrees and Radians types for the time being
|
2012-11-09 16:18:14 +10:00 |
|
Brendan Zabarauskas
|
57fd8a5a41
|
Rename Numeric type to Extent
|
2012-11-08 17:05:11 +10:00 |
|
Brendan Zabarauskas
|
aeab46451e
|
Implemented exponential functions for each vector type
|
2012-11-08 14:09:15 +10:00 |
|
Brendan Zabarauskas
|
ede4575b2d
|
OCD formatting
|
2012-11-08 13:46:01 +10:00 |
|
Brendan Zabarauskas
|
8a4489c4ef
|
Add transform unit test
|
2012-11-08 11:48:50 +10:00 |
|
Brendan Zabarauskas
|
e06117f29c
|
Add Radian and Degree types
|
2012-11-08 11:48:29 +10:00 |
|
Brendan Zabarauskas
|
499e5cfeae
|
Fix function visibility
|
2012-11-07 14:01:01 +10:00 |
|
Brendan Zabarauskas
|
bc30f193e7
|
Move projection.rs to funs module
|
2012-11-07 12:38:44 +10:00 |
|
Brendan Zabarauskas
|
3316a77192
|
Add mat4_from_rotation function
|
2012-11-07 12:36:35 +10:00 |
|