Last change
on this file since 2007 was
1982,
checked in by chris, 20 years ago
|
orxonox/branches/chris: merged trunk into my branch, moved new files into new folder
|
File size:
393 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef ROTATION_H |
---|
3 | #define ROTATION_H |
---|
4 | |
---|
5 | #include "data_tank.h" |
---|
6 | #include "stdincl.h" |
---|
7 | #include "vector.h" |
---|
8 | |
---|
9 | class Rotation { |
---|
10 | public: |
---|
11 | |
---|
12 | float m[9]; |
---|
13 | |
---|
14 | Rotation ( const Vector& v); |
---|
15 | Rotation ( const Vector& axis, float angle); |
---|
16 | Rotation ( float pitch, float yaw, float roll); |
---|
17 | Rotation (); |
---|
18 | ~Rotation () {} |
---|
19 | |
---|
20 | }; |
---|
21 | |
---|
22 | Vector rotate_vector( const Vector& v, const Rotation& r); |
---|
23 | |
---|
24 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.