mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
fahhh
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
Quaternion.inl
|
||||
|
||||
*/
|
||||
|
||||
namespace RBX {
|
||||
|
||||
inline Quaternion& Quaternion::operator+= (const Quaternion& rkQuaternion) {
|
||||
x += rkQuaternion.x;
|
||||
y += rkQuaternion.y;
|
||||
z += rkQuaternion.z;
|
||||
w += rkQuaternion.w;
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline Quaternion& Quaternion::operator*= (float fScalar) {
|
||||
x *= fScalar;
|
||||
y *= fScalar;
|
||||
z *= fScalar;
|
||||
w *= fScalar;
|
||||
return *this;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user