diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-24 17:12:32 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-24 17:12:32 +0000 |
commit | e24766e5d3f9da4a7a566fe7035727787f9d822b (patch) | |
tree | 6e9e230436f32c2cc041a6633fa78c08626a65de /src/math/axis.h | |
parent | 5e3619aa3725833877f66c85977042130fc88c43 (diff) |
improved Track view
Diffstat (limited to 'src/math/axis.h')
-rw-r--r-- | src/math/axis.h | 3 |
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]; }; |