diff --git a/src/funs/common.rs b/src/funs/common.rs index a237dd8..1488618 100644 --- a/src/funs/common.rs +++ b/src/funs/common.rs @@ -10,9 +10,9 @@ use numeric::traits::*; use vec::{Vector, Vec2, Vec3, Vec4}; -// Approx +// Round -pub impl Vec2: Approx { +pub impl Vec2: Round { #[inline(always)] pure fn floor(&self) -> Vec2 { Vec2::new(floor(&self[0]), @@ -50,7 +50,7 @@ pub impl Vec2: Approx { } } -pub impl Vec3: Approx { +pub impl Vec3: Round { #[inline(always)] pure fn floor(&self) -> Vec3 { Vec3::new(floor(&self[0]), @@ -94,7 +94,7 @@ pub impl Vec3: Approx { } } -pub impl Vec4: Approx { +pub impl Vec4: Round { #[inline(always)] pure fn floor(&self) -> Vec4 { Vec4::new(floor(&self[0]),