summaryrefslogtreecommitdiff
path: root/ucoo/math/quaternion.hh
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/math/quaternion.hh')
-rw-r--r--ucoo/math/quaternion.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/ucoo/math/quaternion.hh b/ucoo/math/quaternion.hh
index 5e60cde..556fa1f 100644
--- a/ucoo/math/quaternion.hh
+++ b/ucoo/math/quaternion.hh
@@ -48,6 +48,8 @@ struct Quaternion
T pitch () const;
/// Compute Roll.
T roll () const;
+ /// Multiply by another quaternion.
+ Quaternion<T> operator* (const Quaternion<T> &r) const;
};
} // namespace ucoo