Remove extraneous imports
This commit is contained in:
parent
22189867d4
commit
ca20071c0f
2 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,4 @@
|
||||||
import cmp::Ord;
|
import cmp::Ord;
|
||||||
import float::sqrt;
|
|
||||||
import f32::sqrt;
|
|
||||||
import f64::sqrt;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Abs
|
// Abs
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import std::cmp::FuzzyEq;
|
import std::cmp::FuzzyEq;
|
||||||
import cmp::Ord;
|
import cmp::Ord;
|
||||||
import float::sqrt;
|
|
||||||
import num::Num;
|
import num::Num;
|
||||||
import to_str::ToStr;
|
import to_str::ToStr;
|
||||||
|
import math::Sqrt;
|
||||||
import mat::{mat3, mat4};
|
import mat::{mat3, mat4};
|
||||||
import vec::vec3;
|
import vec::vec3;
|
||||||
|
|
||||||
|
@ -168,7 +168,7 @@ impl quat: Quaternion<float> {
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pure fn magnitude() -> float {
|
pure fn magnitude() -> float {
|
||||||
sqrt(self.magnitude2())
|
self.magnitude2().sqrt()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
|
|
Loading…
Reference in a new issue