Brendan Zabarauskas
|
bb4154199b
|
More documentation updates
|
2012-12-05 18:09:53 +10:00 |
|
Brendan Zabarauskas
|
8acc8f6943
|
Improve mathematical terminology
|
2012-12-05 12:10:05 +10:00 |
|
Brendan Zabarauskas
|
b15c20c7fc
|
Update documentation, add vector type parameter to quaternion
|
2012-12-05 11:51:18 +10:00 |
|
Brendan Zabarauskas
|
e2857c6e7e
|
Create and implement MutableGeometricVector trait
|
2012-12-05 08:21:40 +10:00 |
|
Brendan Zabarauskas
|
ea17c63200
|
Add cross_self method
|
2012-12-05 01:34:41 +10:00 |
|
Brendan Zabarauskas
|
9012589f5f
|
Create and implement MutableNumericVector trait
|
2012-12-04 23:32:34 +10:00 |
|
Brendan Zabarauskas
|
6c14df7fda
|
Move methods operating on &mut self to a separate trait
|
2012-12-04 21:42:24 +10:00 |
|
Brendan Zabarauskas
|
0b9af30b38
|
Add swap methods
|
2012-12-04 17:58:03 +10:00 |
|
Brendan Zabarauskas
|
969e57591d
|
Fix to_ptr method impls and use in the index methods where appropriate
|
2012-12-04 17:50:15 +10:00 |
|
Brendan Zabarauskas
|
bc3e338c25
|
Improve documentation
|
2012-12-04 08:31:26 +10:00 |
|
Brendan Zabarauskas
|
9563455b47
|
Add documentation for Vector traits
|
2012-12-04 02:32:40 +10:00 |
|
Brendan Zabarauskas
|
f266d54654
|
Use Number::from instead of cast
|
2012-12-03 16:28:32 +10:00 |
|
Brendan Zabarauskas
|
ddc7559153
|
Remove zero and one methods from NumCast
|
2012-12-03 15:39:32 +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
|
0adbbd478b
|
Implement explicit self for DefaultEq trait
|
2012-12-01 15:05:11 +10:00 |
|
Brendan Zabarauskas
|
1d4825e005
|
Move to_ptr method into new ToPtr trait
|
2012-12-01 14:55:45 +10:00 |
|
Brendan Zabarauskas
|
10f8570441
|
Divide up trait implementations
|
2012-12-01 14:19:21 +10:00 |
|
Brendan Zabarauskas
|
6d3620c9d7
|
Implement explicit self in trait methods
|
2012-11-30 13:13:20 +10:00 |
|
Brendan Zabarauskas
|
49d055a3dc
|
Update operator overloads to use explicit self
|
2012-11-29 13:14:42 +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
|
af2ca2be45
|
Add size_of static method
|
2012-11-25 22:05:47 +10:00 |
|
Brendan Zabarauskas
|
161860c7dc
|
Update deprecated addr_of calls to the newer to_unsafe_ptr
|
2012-11-22 10:39:47 +10:00 |
|
Brendan Zabarauskas
|
473dbfb3a2
|
Comment formatting
|
2012-11-21 14:08:36 +10:00 |
|
Brendan Zabarauskas
|
a030f4cf19
|
Add comments
|
2012-11-20 21:37:10 +10:00 |
|
Brendan Zabarauskas
|
a06d2cff54
|
Make vector constructors static functions
|
2012-11-20 17:58:24 +10:00 |
|
Brendan Zabarauskas
|
59abaf7f87
|
Add zero and identity static methods
|
2012-11-20 16:57:32 +10:00 |
|
Brendan Zabarauskas
|
d7fb5fdd6b
|
Remove TODO comments
|
2012-11-20 15:40:36 +10:00 |
|
Brendan Zabarauskas
|
3aad63bf2c
|
Remove math module
|
2012-11-20 15:36:29 +10:00 |
|
Brendan Zabarauskas
|
491a82ec28
|
Implement DefaultEq for matrix, vector and quaternion types
|
2012-11-20 15:35:06 +10:00 |
|
Brendan Zabarauskas
|
b8498b827b
|
Move OpenGL type aliases to separate module
|
2012-11-16 16:21:44 +10:00 |
|
Brendan Zabarauskas
|
788420b33f
|
Rename modules to short, idiomatic names
|
2012-11-15 12:23:39 +10:00 |
|
Brendan Zabarauskas
|
5d8319fff0
|
Fix collision of omath::vec and core::vec
|
2012-10-29 21:53:25 +10:00 |
|
Brendan Zabarauskas
|
9c3dbc2658
|
Improve Index trait implementation
|
2012-10-29 15:47:53 +10:00 |
|
Brendan Zabarauskas
|
c92771a2ae
|
Minor comments/formatting/imports cleanup
|
2012-10-28 17:32:23 +10:00 |
|
Brendan Zabarauskas
|
28a9a8250a
|
Move abs method to Abs trait implementations
|
2012-10-28 16:59:19 +10:00 |
|
Brendan Zabarauskas
|
d0124e10c8
|
Correct static zero methods
|
2012-10-28 16:55:42 +10:00 |
|
Brendan Zabarauskas
|
2438675384
|
Replaced data arrays with component fields
|
2012-10-28 14:26:37 +10:00 |
|
Brendan Zabarauskas
|
0cef6b55b8
|
Fix to_str purity
|
2012-10-18 15:40:36 +10:00 |
|
Brendan Zabarauskas
|
7b0b955ef5
|
De-mode index overloads
|
2012-10-07 16:42:47 +10:00 |
|
Brendan Zabarauskas
|
9e3f1d6252
|
De-mode min/max functions
|
2012-10-06 15:08:02 +10:00 |
|
Brendan Zabarauskas
|
08748ad78b
|
De-moded functions and methods
|
2012-10-01 16:23:49 +10:00 |
|
Brendan Zabarauskas
|
782b3aaca1
|
Implement index operator trait
|
2012-09-29 20:37:46 +10:00 |
|
Brendan Zabarauskas
|
0ba6f5a633
|
Implement operator traits
|
2012-09-29 20:25:49 +10:00 |
|
Brendan Zabarauskas
|
bf144110b7
|
Add pub attributes
|
2012-09-29 18:41:48 +10:00 |
|
Brendan Zabarauskas
|
3df7d557bd
|
Bring code into line with recent updates to Rust
|
2012-09-24 12:54:24 +10:00 |
|
Brendan Zabarauskas
|
0a60f09042
|
Add static constant functions (commented out)
|
2012-09-11 08:13:49 +10:00 |
|
Brendan Zabarauskas
|
22189867d4
|
Add static constructors for Vectors (commented out)
See https://github.com/mozilla/rust/issues/3427
|
2012-09-10 13:18:27 +10:00 |
|
Brendan Zabarauskas
|
9f3a6325d7
|
Improve generic traits
|
2012-09-10 12:55:15 +10:00 |
|
Brendan Zabarauskas
|
820ea22407
|
Add min and max functions to vector
|
2012-09-08 15:54:31 +10:00 |
|
Brendan Zabarauskas
|
e9b407b6a5
|
Clean up comments
|
2012-09-08 04:49:52 +10:00 |
|
Brendan Zabarauskas
|
7ce34360a2
|
Add new vector methods
|
2012-09-08 04:45:07 +10:00 |
|
Brendan Zabarauskas
|
57d8c4809b
|
OCD - move dot product methods
|
2012-09-08 01:18:18 +10:00 |
|
Brendan Zabarauskas
|
f5b46e2459
|
Fix circular imports and subsequent build errors
|
2012-09-08 00:17:26 +10:00 |
|
Brendan Zabarauskas
|
aed74ae3c9
|
initial commit
|
2012-09-07 20:48:47 +10:00 |
|