ozkriff
c026f520e1
Fixed warnings
2014-03-17 16:14:39 +04:00
ozkriff
141c4a8684
Updated to latest Rust
2014-02-22 01:44:56 +04:00
Colin Sherratt
4bcb1a5406
changed extern mod to extern crate
2014-02-15 22:46:33 -05:00
Risto Saarelma
fb03e2a660
Arguments directly used to construct AABB passed by value
2014-02-12 08:56:39 +02:00
Risto Saarelma
907165075c
Translate and scale methods for AABB
2014-02-07 08:48:46 +02:00
Risto Saarelma
ff9fc767d4
Translate method for AABBs
2014-02-07 08:48:46 +02:00
Risto Saarelma
6ac1f09750
Utility methods for AA boxes
2014-02-07 08:48:46 +02:00
Risto Saarelma
cdcae58c02
Axis-aligned boxes use top and bottom corners
...
Fixes issue #35 .
2014-01-30 21:43:36 +02:00
Colin Sherratt
fb13dc4566
Implement to_mat4 for Transform3D and quaternion
...
Add a translate builder for Transform3D
2014-01-28 22:10:38 -05:00
Dzmitry Malyshau
1789f26ea1
look_at() implemented as a part of Transform trait
2014-01-25 17:26:06 -05:00
Brendan Zabarauskas
337061bd82
Call rustc directly in .travis.yml
2014-01-26 05:02:19 +11:00
Brendan Zabarauskas
feb4ae2a00
Move tests into source files
2013-06-12 11:02:11 +10:00
Brendan Zabarauskas
17975b798d
De-traitify types, fix tests
2013-06-11 09:02:25 +10:00
Brendan Zabarauskas
a485920354
Fix constructors, tests now pass (YAYAY!)
...
YAYYYYYYYYAYAYAYAYAYAYAY
*jumps for joy*
2013-06-01 11:07:25 +10:00
Brendan Zabarauskas
36039228b6
Don't use index operator in tests
2013-06-01 09:12:30 +10:00
Brendan Zabarauskas
a913be0373
Delete old files
2013-06-01 08:01:20 +10:00
Brendan Zabarauskas
d3bfcc194e
Add license/copyright notices to source files
2013-06-01 08:01:01 +10:00
Brendan Zabarauskas
f800a0ae04
Fixes for core->std and changes to use
2013-05-24 07:05:25 +10:00
Brendan Zabarauskas
9116917607
Make trait names more succinct
2013-04-02 16:12:13 +11:00
Brendan Zabarauskas
69615bee12
Fix unit test build
2013-03-31 22:01:50 +11:00
Brendan Zabarauskas
1c51fba5a6
Fix tests
2013-03-29 18:48:01 +11:00
Brendan Zabarauskas
1342d52bfa
Fix index operator overloads
2013-03-29 09:14:20 +11:00
Brendan Zabarauskas
faffdf8273
Remove test_rot module
2013-03-28 21:54:50 +11:00
Brendan Zabarauskas
1c09618aa4
Convert asserts to syntax extension form
2013-03-28 21:54:25 +11:00
Brendan Zabarauskas
27603dd6bd
Remove instances of 'pure'
2013-03-28 21:35:51 +11:00
Brendan Zabarauskas
fdff434325
Update uses of fail to macro calls
2013-02-07 08:26:33 +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
0a4e19ba1e
Move GLSL type aliases to vec, mat and quat mods
2013-01-29 12:13:44 +11:00
Brendan Zabarauskas
153e5366c8
Remove FIXMEs
2013-01-29 11:48:41 +11:00
Brendan Zabarauskas
ba64b42932
Fix tests
2013-01-28 10:02:40 +11:00
Brendan Zabarauskas
ddc617c925
Updates due to changes in numeric-rs
2013-01-28 09:22:15 +11:00
Brendan Zabarauskas
aae354e3a6
Add component-wise vec/vec multiplication and division methods
2012-12-28 18:47:10 +10:00
Brendan Zabarauskas
0b55dc2105
Add methods in the Mat3 and Quat anonymous impls in preparation for implementing Rotation
...
rot::Rotation won't be able to be implemented until https://github.com/mozilla/rust/issues/4306 is fixed.
2012-12-28 16:41:21 +10:00
Brendan Zabarauskas
5c9d882efe
Remove Quaternion trait
2012-12-28 13:47:34 +10:00
Brendan Zabarauskas
6485ff070e
Add Rotation trait
...
This will eventually be implemented on Mat3 and Quat
2012-12-28 13:37:18 +10:00
Brendan Zabarauskas
16e06c3855
Add is_zero method to Vector trait
2012-12-24 13:46:25 +10:00
Brendan Zabarauskas
f4a8e5b99f
Add fuzzy_eq tests
2012-12-18 13:48:02 +10:00
Brendan Zabarauskas
a95405fde7
Fix imports from numeric
2012-12-17 17:25:41 +10:00
Brendan Zabarauskas
5eff2e4992
Move relational vector traits to vec modules
2012-12-16 15:19:38 +10:00
Brendan Zabarauskas
ff336f0791
Switch to using numeric-rs for numeric type traits
2012-12-16 15:05:04 +10:00
Brendan Zabarauskas
00e2543b22
Fix imports
2012-12-16 09:57:42 +10:00
Brendan Zabarauskas
563aa9495e
Remove from_mat constructors
...
We already have the to_mat conversion methods, so these are redundant
2012-12-14 18:37:02 +10:00
Brendan Zabarauskas
9820436633
Remove random text
...
8^[
2012-12-14 16:31:07 +10:00
Brendan Zabarauskas
6c4c2fc1c8
Add more Quaternion unit tests.
2012-12-14 16:05:18 +10:00
Brendan Zabarauskas
3d31797d8d
Add angle calculation method to vectors, improve vector unit tests
2012-12-13 22:01:55 +10:00
Brendan Zabarauskas
b4fbb9c76a
Remove Rotation struct and methods
2012-12-08 12:59:10 +10:00
Brendan Zabarauskas
079199c275
Remove default_eq module
2012-12-07 02:19:48 +10:00
Brendan Zabarauskas
e2b134d51f
Add mut matrix methods
2012-12-05 13:49:59 +10:00
Brendan Zabarauskas
8acc8f6943
Improve mathematical terminology
2012-12-05 12:10:05 +10:00
Brendan Zabarauskas
e2857c6e7e
Create and implement MutableGeometricVector
trait
2012-12-05 08:21:40 +10:00