From 5773da9e78a61daf5bd2a3ee0504683e56af72f5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 30 Dec 2012 23:15:48 +0000 Subject: Added math::Axis::rotate() variant. --- src/math/axis.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/math/axis.h') diff --git a/src/math/axis.h b/src/math/axis.h index 3991843..ef90654 100644 --- a/src/math/axis.h +++ b/src/math/axis.h @@ -86,6 +86,8 @@ public: * @brief rotation about an arbitrary vector * @param rad angle in radians **/ + void rotate(Vector3f const &normal, float cosa, float sina); + void rotate(const Vector3f & normal, const float rad); /// return the transpose of this matrix -- cgit v1.2.3