From a40899ef6780ea550a4a81588475569585879851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Sat, 31 Aug 2013 17:17:18 +0200 Subject: [PATCH] Add missing rotation-related functions. --- src/mat.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mat.rs b/src/mat.rs index f1c53db8..c2bdfec4 100644 --- a/src/mat.rs +++ b/src/mat.rs @@ -6,6 +6,7 @@ use std::cmp::ApproxEq; use std::vec::{VecIterator, VecMutIterator}; use vec::{Vec1, Vec2, Vec3, Vec4, Vec5, Vec6, Outer}; +// traits pub use traits::dim::Dim; pub use traits::indexable::Indexable; pub use traits::iterable::{Iterable, IterableMut}; @@ -21,6 +22,9 @@ pub use traits::transpose::{Transpose}; pub use traits::homogeneous::{ToHomogeneous, FromHomogeneous}; pub use traits::row::Row; +// functions +pub use traits::rotation::{rotated_wrt_point, rotate_wrt_point, rotated_wrt_center, rotate_wrt_center}; + mod mat_macros; /// Special identity matrix. All its operation are no-ops.