Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/axis.h')
-rw-r--r--src/math/axis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math/axis.h b/src/math/axis.h
index d011675..1422564 100644
--- a/src/math/axis.h
+++ b/src/math/axis.h
@@ -48,6 +48,9 @@ public:
/// change roll, rotate around forward vector (positive is left)
void change_roll(const float angle);
+ /// rotation about an arbitrary axis
+ void rotate(Vector3f const &normal, float angle);
+
private:
Vector3f axis_vector[3];
};