mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-02-16 19:50:52 -05:00
Implemented MxVector4::SetMatrixProductWrapper (#198)
* Implemented the function wrapper for SetMatrixProduct labeled as SetMatrixProductWrapper with 100% match. * Rename for consistency --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
02d003673d
commit
19ee8cdc30
2 changed files with 6 additions and 5 deletions
|
@ -410,13 +410,14 @@ void MxVector4::EqualsScalar(float *p_value)
|
|||
m_data[3] = *p_value;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10002ae0 STUB
|
||||
void MxVector4::unk1(MxVector4 *p_a, float *p_b)
|
||||
// OFFSET: LEGO1 0x10002ae0
|
||||
void MxVector4::SetMatrixProduct(MxVector4 *p_a, float *p_b)
|
||||
{
|
||||
SetMatrixProductImpl(p_a->m_data, p_b);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10002a40
|
||||
void MxVector4::SetMatrixProduct(float *p_vec, float *p_mat)
|
||||
void MxVector4::SetMatrixProductImpl(float *p_vec, float *p_mat)
|
||||
{
|
||||
m_data[0] =
|
||||
p_vec[0] * p_mat[0] + p_vec[1] * p_mat[4] +
|
||||
|
|
|
@ -125,8 +125,8 @@ public:
|
|||
void EqualsScalar(float *p_value);
|
||||
|
||||
// vtable + 0x84
|
||||
virtual void unk1(MxVector4 *p_a, float *p_b);
|
||||
virtual void SetMatrixProduct(float *p_vec, float *p_mat);
|
||||
virtual void SetMatrixProduct(MxVector4 *p_a, float *p_b);
|
||||
virtual void SetMatrixProductImpl(float *p_vec, float *p_mat);
|
||||
virtual MxResult NormalizeQuaternion();
|
||||
virtual void UnknownQuaternionOp(MxVector4 *p_a, MxVector4 *p_b);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue