This commit is contained in:
parent
2a24119501
commit
79caf039ef
19 changed files with 3844 additions and 0 deletions
22
Utils/Libs/Maths/axisangle.h
Normal file
22
Utils/Libs/Maths/axisangle.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef __AXISANGLE_H__
|
||||
#define __AXISANGLE_H__
|
||||
|
||||
#include "mathtypes.h"
|
||||
|
||||
class Quaternion;
|
||||
struct Matrix4x4;
|
||||
|
||||
class AxisAngle
|
||||
{
|
||||
public:
|
||||
real x,y,z;
|
||||
real angle;
|
||||
|
||||
void ToQuaternion( Quaternion &q ) const;
|
||||
void ToMatrix( Matrix4x4 &m ) const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue