mirror of https://github.com/axmolengine/axmol.git
20 lines
303 B
Plaintext
20 lines
303 B
Plaintext
|
#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;
|
||
|
}
|
||
|
|
||
|
}
|