diff --git a/src/adaptors/rotmat.rs b/src/adaptors/rotmat.rs index 2a5a3cce..6c423338 100644 --- a/src/adaptors/rotmat.rs +++ b/src/adaptors/rotmat.rs @@ -19,6 +19,12 @@ use vec::Vec3; pub struct Rotmat { priv submat: M } +impl Rotmat +{ + pub fn submat(&self) -> M + { copy self.submat } +} + pub fn rotmat2>(angle: N) -> Rotmat> { let coa = angle.cos();