From 46636ca8ef8eb994554e25531ae0013993594a0f Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Wed, 18 Sep 2013 11:37:06 +1000 Subject: [PATCH] Remove glob import --- src/cgmath/matrix.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cgmath/matrix.rs b/src/cgmath/matrix.rs index e6e5751..27ae0f7 100644 --- a/src/cgmath/matrix.rs +++ b/src/cgmath/matrix.rs @@ -20,7 +20,8 @@ use std::num::{Zero, zero, One, one, cast, sqrt}; use angle::{Rad, sin, cos}; use array::{Array, build}; use quaternion::{Quat, ToQuat}; -use vector::*; +use vector::{Vector, EuclideanVector}; +use vector::{Vec2, Vec3, Vec4}; /// A 2 x 2, column major matrix #[deriving(Clone, Eq, Zero)] @@ -562,8 +563,7 @@ impl ToMat4 for Mat3 { impl ToQuat for Mat3 { /// Convert the matrix to a quaternion fn to_quat(&self) -> Quat { - // Implemented using a mix of ideas from jMonkeyEngine and Ken Shoemake's - // paper on Quaternions: http://www.cs.ucr.edu/~vbz/resources/Quatut.pdf + // http://www.cs.ucr.edu/~vbz/resources/Quatut.pdf let trace = self.trace(); let half: S = cast(0.5); cond! (