diff --git a/src/geometry/quaternion.rs b/src/geometry/quaternion.rs index ca6f7771..d691f48c 100755 --- a/src/geometry/quaternion.rs +++ b/src/geometry/quaternion.rs @@ -17,7 +17,7 @@ use alga::general::Real; use base::dimension::{U1, U3, U4}; use base::storage::{CStride, RStride}; -use base::{Matrix3, MatrixN, MatrixSlice, MatrixSliceMut, Unit, Vector3, Vector4}; +use base::{Matrix3, Matrix4, MatrixSlice, MatrixSliceMut, Unit, Vector3, Vector4}; use geometry::{Point3, Rotation}; @@ -1341,7 +1341,7 @@ impl UnitQuaternion { /// assert_relative_eq!(rot.to_homogeneous(), expected, epsilon = 1.0e-6); /// ``` #[inline] - pub fn to_homogeneous(&self) -> MatrixN { + pub fn to_homogeneous(&self) -> Matrix4 { self.to_rotation_matrix().to_homogeneous() }