diff --git a/src/angle.rs b/src/angle.rs index 3718115..aef9cf9 100644 --- a/src/angle.rs +++ b/src/angle.rs @@ -218,14 +218,4 @@ pub impl Degrees: Ord { pub impl Degrees: ToStr { pure fn to_str() -> ~str { fmt!("%?\xB0", *self) } -} - - - - - -pub struct Euler { - x: Radians, // pitch - y: Radians, // yaw - z: Radians, // roll } \ No newline at end of file diff --git a/src/gltypes.rs b/src/gltypes.rs index f3bee41..d3307ac 100644 --- a/src/gltypes.rs +++ b/src/gltypes.rs @@ -22,7 +22,7 @@ use core::sys::size_of; -use angle::{Angle, Radians, Degrees, Euler}; +use angle::{Angle, Radians, Degrees}; use color::color::{RGB, RGBA, HSV, HSVA}; use mat::{Matrix, Mat2, Mat3, Mat4}; use vec::{Vector, NumericVector, Vec2, Vec3, Vec4}; @@ -398,13 +398,6 @@ pub impl ddegrees { } -// Axis rotation aliases. These are not present in the GLSL specification, but -// they follow roughly the same nomenclature. - -pub type euler = Euler; /// single-precision floating-point euler angles (pitch/yaw/roll) -pub type deuler = Euler; /// double-precision floating-point euler angles (pitch/yaw/roll) - - // Quaternion aliases. These are not present in the GLSL specification, but // they follow roughly the same nomenclature.