mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-12 06:20:35 +00:00
anim fixes
This commit is contained in:
parent
a080fbfbd4
commit
df5bafc80c
6 changed files with 49 additions and 40 deletions
|
@ -12,6 +12,11 @@ public:
|
|||
float MagnitudeSqr(void) const { return x*x + y*y + z*z + w*w; }
|
||||
void Normalise(void);
|
||||
void Multiply(const CQuaternion &q1, const CQuaternion &q2);
|
||||
void Invert(void){ // Conjugate would have been a better name
|
||||
x = -x;
|
||||
y = -y;
|
||||
z = -z;
|
||||
}
|
||||
|
||||
const CQuaternion &operator+=(CQuaternion const &right) {
|
||||
x += right.x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue