mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00: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:
@@ -410,13 +410,14 @@ void MxVector4::EqualsScalar(float *p_value)
|
|||||||
m_data[3] = *p_value;
|
m_data[3] = *p_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x10002ae0 STUB
|
// OFFSET: LEGO1 0x10002ae0
|
||||||
void MxVector4::unk1(MxVector4 *p_a, float *p_b)
|
void MxVector4::SetMatrixProduct(MxVector4 *p_a, float *p_b)
|
||||||
{
|
{
|
||||||
|
SetMatrixProductImpl(p_a->m_data, p_b);
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x10002a40
|
// OFFSET: LEGO1 0x10002a40
|
||||||
void MxVector4::SetMatrixProduct(float *p_vec, float *p_mat)
|
void MxVector4::SetMatrixProductImpl(float *p_vec, float *p_mat)
|
||||||
{
|
{
|
||||||
m_data[0] =
|
m_data[0] =
|
||||||
p_vec[0] * p_mat[0] + p_vec[1] * p_mat[4] +
|
p_vec[0] * p_mat[0] + p_vec[1] * p_mat[4] +
|
||||||
|
@@ -125,8 +125,8 @@ public:
|
|||||||
void EqualsScalar(float *p_value);
|
void EqualsScalar(float *p_value);
|
||||||
|
|
||||||
// vtable + 0x84
|
// vtable + 0x84
|
||||||
virtual void unk1(MxVector4 *p_a, float *p_b);
|
virtual void SetMatrixProduct(MxVector4 *p_a, float *p_b);
|
||||||
virtual void SetMatrixProduct(float *p_vec, float *p_mat);
|
virtual void SetMatrixProductImpl(float *p_vec, float *p_mat);
|
||||||
virtual MxResult NormalizeQuaternion();
|
virtual MxResult NormalizeQuaternion();
|
||||||
virtual void UnknownQuaternionOp(MxVector4 *p_a, MxVector4 *p_b);
|
virtual void UnknownQuaternionOp(MxVector4 *p_a, MxVector4 *p_b);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user