mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
Match Act3::DebugCopter
This commit is contained in:
parent
78e924e4ee
commit
2c99291515
@ -823,19 +823,17 @@ void Act3::DebugCopter(
|
||||
DebugPrintf("\t%g, %g, %g, %g", EXPAND4(p_endPosition[2]));
|
||||
DebugPrintf("\t%g, %g, %g, %g\n\n", EXPAND4(p_endPosition[3]));
|
||||
|
||||
Mx4DPointFloat unk0x00, unk0x18;
|
||||
Mx4DPointFloat startQuat, endQuat;
|
||||
|
||||
if (p_unk0x1f4.GetFlags() != 0) {
|
||||
// TODO: Match
|
||||
unk0x00 = p_unk0x1f4.GetStartQuat();
|
||||
unk0x18 = p_unk0x1f4.GetEndQuat();
|
||||
p_unk0x1f4.GetQuat(startQuat, endQuat);
|
||||
|
||||
DebugPrintf("Source quaternion...");
|
||||
// STRING: LEGO1 0x100f7864
|
||||
DebugPrintf("\t%g, %g, %g, %g\n", EXPAND4(unk0x00));
|
||||
DebugPrintf("\t%g, %g, %g, %g\n", EXPAND4(startQuat));
|
||||
|
||||
DebugPrintf("Destination quaternion...");
|
||||
DebugPrintf("\t%g, %g, %g, %g\n", EXPAND4(unk0x18));
|
||||
DebugPrintf("\t%g, %g, %g, %g\n", EXPAND4(endQuat));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -21,8 +21,12 @@ class MxQuaternionTransformer {
|
||||
inline void SetEnd(Vector4& p_v);
|
||||
inline int InterpolateToMatrix(Matrix4& p_matrix, float p_f);
|
||||
|
||||
const Vector4& GetStartQuat() const { return m_startQuat; }
|
||||
const Vector4& GetEndQuat() const { return m_endQuat; }
|
||||
void GetQuat(Vector4& p_startQuat, Vector4& p_endQuat) const
|
||||
{
|
||||
p_startQuat = m_startQuat;
|
||||
p_endQuat = m_endQuat;
|
||||
}
|
||||
|
||||
undefined4 GetFlags() const { return m_flags; }
|
||||
|
||||
private:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user