2015-04-19 20:39:16 +00:00
|
|
|
#ifndef CAXISANGLE_H
|
|
|
|
#define CAXISANGLE_H
|
|
|
|
|
|
|
|
#include "Global.hpp"
|
|
|
|
#include "CVector3f.hpp"
|
|
|
|
|
2015-10-08 00:21:38 +00:00
|
|
|
namespace Zeus
|
|
|
|
{
|
2015-04-19 20:39:16 +00:00
|
|
|
struct ZE_ALIGN(16) CAxisAngle
|
|
|
|
{
|
|
|
|
ZE_DECLARE_ALIGNED_ALLOCATOR();
|
|
|
|
|
|
|
|
CAxisAngle()
|
|
|
|
: axis(CVector3f::skOne),
|
|
|
|
angle(0)
|
|
|
|
{}
|
|
|
|
CAxisAngle(const CVector3f& axis, float angle)
|
|
|
|
: axis(axis),
|
|
|
|
angle(angle)
|
|
|
|
{}
|
|
|
|
|
|
|
|
CVector3f axis;
|
|
|
|
float angle;
|
|
|
|
};
|
2015-10-08 00:21:38 +00:00
|
|
|
}
|
2015-04-19 20:39:16 +00:00
|
|
|
|
|
|
|
#endif // CAXISANGLE_H
|