Brendan Zabarauskas
887544b0b2
Fix ortho
2013-04-07 23:18:32 +10:00
Brendan Zabarauskas
a57935ccea
Clean up 'orthographic' function and rename to 'ortho'
2013-04-07 23:04:54 +10:00
Mikko Perttunen
4293d9aa1b
Add function projection::orthographic.
2013-04-07 13:06:26 +03:00
Mikko Perttunen
5cf091656d
Fix projection::perspective.
2013-04-07 12:55:03 +03:00
Brendan Zabarauskas
9116917607
Make trait names more succinct
2013-04-02 16:12:13 +11:00
Brendan Zabarauskas
c906578c69
Remove NumCast type parameters
...
The NumCast type parameter is no longer needed as it is a constraint of numeric::Number
2013-04-02 11:59:33 +11:00
Brendan Zabarauskas
449705b760
Use core::num::{Zero, One, NumCast} traits for 'zero', 'one' and 'cast' methods
2013-04-02 11:25:05 +11:00
Brendan Zabarauskas
27603dd6bd
Remove instances of 'pure'
2013-03-28 21:35:51 +11:00
Brian Heylin
8b94369a38
updated syntax and added type bounds, scope ownership issues remain
2013-03-28 10:45:43 +01:00
Brendan Zabarauskas
ff185b373c
Update FuzzyEq impls
2013-02-10 09:42:06 +11:00
Brendan Zabarauskas
d7f5efadbd
Remove anonymous impls on types and transfer functionality to traits
...
Unfortunately this causes Rust's type inference to struggle, but this is a problem with the rust compiler and hopefully this will improve over time. Users are encouraged to use the type aliases and static method wrappers included with each module.
2013-01-29 20:26:48 +11:00
Brendan Zabarauskas
ddc617c925
Updates due to changes in numeric-rs
2013-01-28 09:22:15 +11:00
Brendan Zabarauskas
bc30f193e7
Move projection.rs to funs module
2012-11-07 12:38:44 +10:00
Brendan Zabarauskas
2904be296e
Reduce casting of zero value
2012-11-04 14:28:17 +10:00
Brendan Zabarauskas
5080853cbe
Reorganise modules
2012-11-02 10:10:27 +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
819c092321
Change inline attributes to inline(always)
2012-10-30 12:55:20 +10:00
Brendan Zabarauskas
5d8319fff0
Fix collision of omath::vec and core::vec
2012-10-29 21:53:25 +10:00
Brendan Zabarauskas
3df7d557bd
Bring code into line with recent updates to Rust
2012-09-24 12:54:24 +10:00
Brendan Zabarauskas
015f0d8eb1
OCD formatting
2012-09-08 12:41:04 +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