Commit graph

963 commits

Author SHA1 Message Date
ozkriff
eb40fbce2a Updated to latest Rust: ToStr -> fmt::Show 2014-02-25 12:56:22 +04:00
Brendan Zabarauskas
0be56240d5 Merge pull request #48 from ozkriff/master
Updated to latest Rust
2014-02-25 01:00:39 +11:00
ozkriff
e5ec803fa5 Updated to latest Rust 2014-02-24 10:33:31 +04:00
Brendan Zabarauskas
69fa5d9fea Merge pull request #47 from ozkriff/master
Upgrade to latest Rust
2014-02-22 10:19:06 +11:00
ozkriff
141c4a8684 Updated to latest Rust 2014-02-22 01:44:56 +04:00
Brendan Zabarauskas
db2454f24f Merge pull request #46 from cmr/master
Update cargo-lite.conf
2014-02-18 00:11:47 +11:00
Corey Richardson
66195378be Update cargo-lite.conf 2014-02-17 06:53:33 -05:00
Brendan Zabarauskas
93f739f696 Merge pull request #45 from csherratt/master
changed extern mod to extern crate
2014-02-16 18:21:32 +11:00
Colin Sherratt
4bcb1a5406 changed extern mod to extern crate 2014-02-15 22:46:33 -05:00
Brendan Zabarauskas
0795096f92 Merge pull request #44 from csherratt/master
Temporary workaround for the fact that std::num::Orderable is now removed
2014-02-16 13:29:05 +11:00
Colin Sherratt
5872ef347e Temporary workaround for the fact that std::num::Orderable is now removed. 2014-02-15 17:22:21 -05:00
Brendan Zabarauskas
f068af7717 Remove obsolete compilation instructions 2014-02-14 07:29:24 +11:00
Brendan Zabarauskas
1be74734f9 Merge pull request #42 from bjz/make
Add Makefile and enable rust-ci doc export
2014-02-14 07:26:28 +11:00
Brendan Zabarauskas
11f8e29e17 Add Makefile and enable rust-ci doc export 2014-02-14 07:18:10 +11:00
Brendan Zabarauskas
07f01efbc5 Merge pull request #40 from rsaarelm/master
Utility methods for AA boxes
2014-02-12 19:42:17 +11:00
Risto Saarelma
fb03e2a660 Arguments directly used to construct AABB passed by value 2014-02-12 08:56:39 +02:00
Risto Saarelma
a391d4450b Don't use abbrevations for the Aabb field names 2014-02-09 10:28:58 +02:00
Risto Saarelma
57ff382cf1 to_str for Aabbs 2014-02-07 08:50:10 +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
Brendan Zabarauskas
304151d2f7 Merge pull request #41 from rlane/fmt-show
replace fmt::Default with fmt::Show
2014-02-04 03:41:03 -08:00
Rich Lane
17b9f5c066 replace fmt::Default with fmt::Show 2014-02-02 20:51:43 -08:00
Brendan Zabarauskas
0c903a7ec5 Merge pull request #38 from rsaarelm/master
Axis-aligned boxes use top and bottom corners
2014-01-30 22:43:44 -08:00
Brendan Zabarauskas
18b66f25a1 Merge pull request #39 from kvark/t-quat-arc
between_vecs implementation, Rotation traits improvement
2014-01-30 22:43:16 -08:00
Risto Saarelma
cdcae58c02 Axis-aligned boxes use top and bottom corners
Fixes issue #35.
2014-01-30 21:43:36 +02:00
Dzmitry Malyshau
21f10ee0ec Rotation2 and Rotation3 improved with from_* methods. Betwee_vecs implemented for all rotations. 2014-01-29 19:27:39 -05:00
Brendan Zabarauskas
dd1d35b2db Merge pull request #37 from csherratt/master
Add a translate constructor for Transform3D.
2014-01-29 03:45:18 -08: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
Brendan Zabarauskas
7435ae16bf Merge pull request #32 from rlane/iterbytes
derive IterBytes for all structs
2014-01-26 22:26:27 -08:00
Brendan Zabarauskas
356547d6b3 Merge pull request #34 from bjz/readme
Re-document build instructions in README and shorten limitations section
2014-01-26 22:19:48 -08:00
Rich Lane
f3e680fc34 derive IterBytes for vectors, points, and angles
It's useful to be able to have types like `Vec3<i32>` as hashtable keys.
2014-01-26 22:19:40 -08:00
Brendan Zabarauskas
0d31e49a82 Re-document build instructions in README and shorten limitations section 2014-01-27 17:17:32 +11:00
Brendan Zabarauskas
5023f4795f Merge pull request #33 from zhanrnl/fix-quat-from_angle
Fix quat::Quat::from_angle_{x|y|z}
2014-01-26 22:16:12 -08:00
Lennart
e9fcf971da Fix comments on Quat::from_angle_{x|y|z} functions 2014-01-26 22:12:56 -08:00
Lennart
ba71cb4a37 Fix quat::Quat::from_angle_{x|y|z}
These functions were broken due to mistakenly using the full angle theta
in one place instead of theta / 2. This resulted in non-unit
quaternions that definitely did not rotate things correctly.
2014-01-26 22:11:58 -08:00
Brendan Zabarauskas
a7c2ddf2ca Merge pull request #31 from kvark/try-look-at
look_at() implemented as a part of Transform trait
2014-01-26 19:38:23 -08:00
Dzmitry Malyshau
1789f26ea1 look_at() implemented as a part of Transform trait 2014-01-25 17:26:06 -05:00
Brendan Zabarauskas
39b6bd2a5c Merge pull request #28 from cmr/master
cargo-lite
2014-01-25 10:06:16 -08:00
Brendan Zabarauskas
f3fdee9e9c Merge pull request #29 from bjz/travis
Call rustc directly in .travis.yml
2014-01-25 10:05:46 -08:00
Brendan Zabarauskas
6b33f5d7e5 Remove unnecessary parentheses 2014-01-26 05:02:30 +11:00
Brendan Zabarauskas
337061bd82 Call rustc directly in .travis.yml 2014-01-26 05:02:19 +11:00
Corey Richardson
81bfadb5cf cargo-lite 2014-01-25 11:10:08 -05:00
Brendan Zabarauskas
91060a231a Merge pull request #27 from bjz/build-fixes
Build fixes
2014-01-23 08:21:24 -08:00
Brendan Zabarauskas
c2054e4993 Reduce code duplication
We can now have multiple definitions in macros!
2014-01-24 03:13:53 +11:00
Brendan Zabarauskas
ac991aaec0 Impl appropriate operators for implementors of Zero and One 2014-01-24 03:00:24 +11:00
Brendan Zabarauskas
cbc08a7de7 Merge pull request #25 from csherratt/Items
Fix build break
2014-01-19 21:55:27 -08:00
Colin Sherratt
e3183110ad Fix renamed structures:
VecIterator -> Items
	MutVecIterator -> MutItems
2014-01-19 21:04:48 -05:00
Brendan Zabarauskas
19d9c356fd Merge pull request #21 from kvark/try-approx
Reimplement ApproxEq that has been removed from the standard library
2014-01-10 09:17:30 -08:00
kvark
522d20ffe5 Fixed tests that used assert_approx_eq 2014-01-08 20:06:02 -05:00