diff --git a/src/structs/spec/identity.rs b/src/structs/spec/identity.rs index 235f541b..1fc39f50 100644 --- a/src/structs/spec/identity.rs +++ b/src/structs/spec/identity.rs @@ -1,7 +1,7 @@ use std::num::{One, Zero}; use structs::mat; use traits::operations::{Inv, Transpose}; -use traits::geometry::{Translation, Translate, Rotation, Rotate, Transformation, Transform}; +use traits::geometry::{Translation, Translate, Rotation, Rotate, Transformation, Transform, AbsoluteRotate}; impl One for mat::Identity { #[inline] @@ -136,6 +136,13 @@ impl Rotate for mat::Identity { } } +impl AbsoluteRotate for mat::Identity { + #[inline] + fn absolute_rotate(&self, v: &V) -> V { + v.clone() + } +} + impl Transformation for mat::Identity { #[inline] fn transformation(&self) -> M {