Rustup
This commit is contained in:
parent
a058142a2c
commit
8a34332f5f
2 changed files with 2 additions and 6 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
language: rust
|
||||
rust:
|
||||
- 1.0.0-beta
|
||||
- 1.0.0-beta.2
|
||||
env:
|
||||
global:
|
||||
- secure: S0l5RmsFJgbDdzXjHsCluexb1R9RklpxZMJgr9RcieeqSqaJDPUht53yBZDyuk04/KzEbtM5yxogJd2tcv2E4EogPLL8oG77GItNc/i6jy4TLUjU28WKOMiBvYA/1rhb7f/DEQgj7DtIHP/rQGKH8goUdJfqGbk7EawP7FSxC2Y=
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
// limitations under the License.
|
||||
|
||||
use std::fmt;
|
||||
use std::marker::PhantomFn;
|
||||
|
||||
use rust_num::{zero, one};
|
||||
|
||||
|
@ -238,10 +237,7 @@ impl<S: BaseFloat + 'static> Transform3<S> for AffineMatrix3<S> {}
|
|||
|
||||
/// A trait that allows extracting components (rotation, translation, scale)
|
||||
/// from an arbitrary transformations
|
||||
// PhantomFn works around a beta bug in deteriming the usage of S/P, and should be safely removed
|
||||
// when PhantomFn deprecation lands in stable.
|
||||
pub trait ToComponents<S: BaseNum, V: Vector<S>, P: Point<S, V>, R: Rotation<S, V, P>>
|
||||
: PhantomFn<S> + PhantomFn<P> {
|
||||
pub trait ToComponents<S: BaseNum, V: Vector<S>, P: Point<S, V>, R: Rotation<S, V, P>> {
|
||||
/// Extract the (scale, rotation, translation) triple
|
||||
fn decompose(&self) -> (V, R, V);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue