Remove extraneous imports

This commit is contained in:
Brendan Zabarauskas 2012-09-11 08:06:31 +10:00
parent 22189867d4
commit ca20071c0f
2 changed files with 2 additions and 5 deletions

View file

@ -1,7 +1,4 @@
import cmp::Ord;
import float::sqrt;
import f32::sqrt;
import f64::sqrt;
//
// Abs

View file

@ -1,8 +1,8 @@
import std::cmp::FuzzyEq;
import cmp::Ord;
import float::sqrt;
import num::Num;
import to_str::ToStr;
import math::Sqrt;
import mat::{mat3, mat4};
import vec::vec3;
@ -168,7 +168,7 @@ impl quat: Quaternion<float> {
#[inline(always)]
pure fn magnitude() -> float {
sqrt(self.magnitude2())
self.magnitude2().sqrt()
}
#[inline(always)]