Commit graph

1330 commits

Author SHA1 Message Date
Dzmitry Malyshau 182f7b41dc Merge pull request #193 from neuschaefer/dev
Various little changes.
2015-03-19 21:37:33 +03:00
Jonathan Neuschäfer 2b952a2577 Add tests for inverted rotations 2015-03-18 18:21:39 +01:00
Jonathan Neuschäfer c8cb9291ee bench: replace iter::range with range syntax 2015-03-18 18:21:39 +01:00
Jonathan Neuschäfer 241441a650 #[should_fail] -> #[should_panic] 2015-03-18 18:21:39 +01:00
Jonathan Neuschäfer 7b9a9aac69 compile the doctest in rotation.rs; use ``` instead of ~~~ 2015-03-18 18:21:39 +01:00
Jonathan Neuschäfer bc8a47fb8d use if/else if/else instead of match ()
It looks more idiomatic.
2015-03-18 18:21:39 +01:00
Jonathan Neuschäfer f4ac3952bd Grammar/spelling fixes 2015-03-18 17:51:38 +01:00
Jonathan Neuschäfer 4c527f8334 s/AUTHORS file/Cargo.toml file/ 2015-03-18 17:51:03 +01:00
Jonathan Neuschäfer 2993324ad6 .travis.yml: Switch to container-based build infrastructure
The main build servers are often overbooked (see [1]), and we don't need
sudo.

[1] http://www.traviscistatus.com/
2015-03-18 17:50:50 +01:00
Jonathan Neuschäfer 556c5f2375 line.rs: destructure self with let, save indentation 2015-03-18 17:44:31 +01:00
Dzmitry Malyshau c80f0889be Merge pull request #192 from kvark/ortho
Exposed Ortho fields as public (last time it was Perspective)
2015-03-18 01:05:26 +03:00
Dzmitry Malyshau 1e4271c2a6 Exposed Ortho fields as public (last time it was Perspective) 2015-03-18 01:04:21 +03:00
Dzmitry Malyshau ff818d191a Merge pull request #191 from kvark/ortho
Exposed Ortho fields as public
2015-03-18 01:01:47 +03:00
Dzmitry Malyshau c20350336e Exposed Ortho fields as public 2015-03-18 00:59:43 +03:00
Dzmitry Malyshau 6bc43c7738 Merge pull request #190 from csherratt/master
fix is->isize in vector
2015-03-16 00:30:15 +03:00
Colin Sherratt 146a64cc1b fix is->isize in vector 2015-03-15 16:54:38 -04:00
Colin Sherratt 476a989876 Merge pull request #189 from csherratt/master
Bump the verison number
2015-03-15 16:34:02 -04:00
Colin Sherratt e785e697b1 Bump the verison number 2015-03-15 16:33:22 -04:00
Colin Sherratt de2c03276d Merge pull request #187 from kvark/bound
Generic 3D bounds
2015-03-15 16:32:25 -04:00
Dzmitry Malyshau e0d85820e3 Fixed the frustum/bound relation. 2015-03-15 23:21:07 +03:00
Dzmitry Malyshau 6691dce420 Added Bound::relate_clip_space with default implementation 2015-03-15 22:37:11 +03:00
Dzmitry Malyshau fa3aacafcf Improved Plane, fixed Frustum computation from Matrix4, implemented Frustum contains() tests. 2015-03-15 22:36:09 +03:00
Dzmitry Malyshau 715f3b7157 Added tests for aabb to_corners(). Fixed test warnings. 2015-03-15 22:36:07 +03:00
Dzmitry Malyshau 896c357ea8 Implemented Aabb to_corners() 2015-03-15 22:36:06 +03:00
Dzmitry Malyshau 4d71e8aad9 Moved the bound tests around. Added one for Aabb3 2015-03-15 22:36:04 +03:00
Dzmitry Malyshau d3d7241c86 Moved bound implementations into the corresponding modules 2015-03-15 22:36:03 +03:00
Dzmitry Malyshau 2722815d84 Implemented Bound for Sphere 2015-03-15 22:36:01 +03:00
Dzmitry Malyshau e71887a848 Renamed the main entry point to be lib.rs 2015-03-15 22:36:00 +03:00
Dzmitry Malyshau 95c3b3608f Added Bound module, implemented for Point3 and Aabb3 2015-03-15 22:35:56 +03:00
Colin Sherratt 1aadf245e8 Merge pull request #188 from csherratt/master
Manually implment Rand.
2015-03-14 23:34:59 -04:00
Colin Sherratt 64fedca8e9 Manually add rand trait 2015-03-14 22:54:02 -04:00
Pierre Krieger 8895654f92 Remove dependencies to rand and rand_macros
Conflicts:
	src/cgmath.rs
2015-03-14 22:07:15 -04:00
tomaka 50b76ebb66 Merge pull request #186 from tomaka/bump
Bump version
2015-03-09 17:32:57 +01:00
Pierre Krieger 6231a884be Bump version 2015-03-09 17:32:32 +01:00
Dzmitry Malyshau f824d5f318 Merge pull request #185 from bjz/tomaka-patch-1
Update for rustc
2015-03-08 13:33:25 -04:00
tomaka 5ec45d1699 Update for rustc 2015-03-08 16:30:01 +01:00
Brendan Zabarauskas 5d6717cbf1 Merge pull request #184 from kvark/components
Redesigned ToComponents to avoid the associated type
2015-03-02 22:32:37 +11:00
Dzmitry Malyshau f03d4427ee Redesigned ToComponents, removed the implementation for AffineMatrix3 as incorrect. 2015-03-01 23:40:43 -05:00
Colin Sherratt bb8c91213a Merge pull request #183 from csherratt/master
Bump version number
2015-03-01 13:57:14 -05:00
Colin Sherratt 4fc4b5347f Bump version number 2015-03-01 13:55:51 -05:00
tomaka 7c8f2b69a1 Merge pull request #182 from csherratt/master
fix closure syntax
2015-03-01 19:40:53 +01:00
Colin Sherratt 74707ed8d2 fix closure syntax 2015-03-01 13:28:38 -05:00
Colin Sherratt 6ac2184397 Merge pull request #181 from kvark/components
ToComponents trait
2015-03-01 11:51:36 -05:00
Dzmitry Malyshau 45c6fd630d Cleaned up public exports. Implemented ToComponents for Matrix3. Added tests. 2015-03-01 01:29:47 -05:00
Dzmitry Malyshau bf257a3e49 Added ToComponents. Moved from_value into . 2015-03-01 01:05:22 -05:00
Brendan Zabarauskas 0c74d2a551 Merge pull request #179 from bfops/self
Add #[must_use] on functions with in-place variants.
2015-02-23 08:58:44 +11:00
Ben Foppa 562dfeb7a6 Add #[must_use] on functions with in-place variants. 2015-02-22 16:33:16 -05:00
Dzmitry Malyshau 1705cf74d0 Merge pull request #178 from bfops/eq
Points derive Eq.
2015-02-21 16:34:24 -05:00
Ben Foppa 1d9fc87f60 Points derive Eq. 2015-02-21 14:50:00 -05:00
Colin Sherratt 136dc458be Merge pull request #177 from csherratt/master
bump the version number
2015-02-21 12:27:08 -05:00