axmol/cocos/math/Quaternion.inl

20 lines
303 B
Plaintext
Raw Normal View History

2014-04-02 10:33:07 +08:00
#include "Quaternion.h"
namespace gameplay
{
inline const Quaternion Quaternion::operator*(const Quaternion& q) const
{
Quaternion result(*this);
result.multiply(q);
return result;
}
inline Quaternion& Quaternion::operator*=(const Quaternion& q)
{
multiply(q);
return *this;
}
}