diff --git a/src/geometry/rotation.rs b/src/geometry/rotation.rs index f53668c7..5a4e4723 100644 --- a/src/geometry/rotation.rs +++ b/src/geometry/rotation.rs @@ -201,6 +201,9 @@ where DefaultAllocator: Allocator D: DimNameAdd, DefaultAllocator: Allocator, DimNameSum>, { + // We could use `MatrixN::to_homogeneous()` here, but that would imply + // adding the additional traits `DimAdd` and `IsNotStaticOne`. Maybe + // these things will get nicer once specialization lands in Rust. let mut res = MatrixN::>::identity(); res.fixed_slice_mut::(0, 0).copy_from(&self.matrix);