Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/chris/core/rotation.h @ 1939

Last change on this file since 1939 was 1939, checked in by chris, 20 years ago

orxonox/branches/chris: classes vector and rotation added

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
9class 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
22Vector rotate_vector( const Vector& v, const Rotation& r);
23
24#endif
Note: See TracBrowser for help on using the repository browser.