rename functions and parameters in OrientableROI (#1512)

This commit is contained in:
Erik Schulze
2025-05-22 05:13:28 +02:00
committed by GitHub
parent 5c67c26c3f
commit eb1177b409
31 changed files with 137 additions and 137 deletions

View File

@@ -28,9 +28,9 @@ const Tgl::Group* ViewROI::GetGeometry() const
}
// FUNCTION: LEGO1 0x100a9ee0
void ViewROI::UpdateWorldData(const Matrix4& parent2world)
void ViewROI::UpdateWorldDataWithTransformAndChildren(const Matrix4& parent2world)
{
OrientableROI::UpdateWorldData(parent2world);
OrientableROI::UpdateWorldDataWithTransformAndChildren(parent2world);
if (geometry) {
Tgl::FloatMatrix4 matrix;
@@ -42,9 +42,9 @@ void ViewROI::UpdateWorldData(const Matrix4& parent2world)
}
// FUNCTION: LEGO1 0x100a9fc0
void ViewROI::VTable0x24(const Matrix4& p_transform)
void ViewROI::UpdateWorldDataWithTransform(const Matrix4& p_transform)
{
OrientableROI::VTable0x24(p_transform);
OrientableROI::UpdateWorldDataWithTransform(p_transform);
if (geometry) {
Tgl::FloatMatrix4 matrix;
Matrix4 in(matrix);
@@ -54,9 +54,9 @@ void ViewROI::VTable0x24(const Matrix4& p_transform)
}
// FUNCTION: LEGO1 0x100aa0a0
void ViewROI::SetLocalTransform(const Matrix4& p_transform)
void ViewROI::SetLocal2WorldWithWorldDataUpdate(const Matrix4& p_transform)
{
OrientableROI::SetLocalTransform(p_transform);
OrientableROI::SetLocal2WorldWithWorldDataUpdate(p_transform);
if (geometry) {
Tgl::FloatMatrix4 matrix;
Matrix4 in(matrix);
@@ -66,9 +66,9 @@ void ViewROI::SetLocalTransform(const Matrix4& p_transform)
}
// FUNCTION: LEGO1 0x100aa180
void ViewROI::VTable0x1c()
void ViewROI::UpdateWorldData()
{
OrientableROI::VTable0x1c();
OrientableROI::UpdateWorldData();
if (geometry) {
Tgl::FloatMatrix4 matrix;
Matrix4 in(matrix);

View File

@@ -49,12 +49,12 @@ public:
}
}
float IntrinsicImportance() const override; // vtable+0x04
void VTable0x1c() override; // vtable+0x1c
void SetLocalTransform(const Matrix4& p_transform) override; // vtable+0x20
void VTable0x24(const Matrix4& p_transform) override; // vtable+0x24
virtual Tgl::Group* GetGeometry(); // vtable+0x30
virtual const Tgl::Group* GetGeometry() const; // vtable+0x34
float IntrinsicImportance() const override; // vtable+0x04
void UpdateWorldData() override; // vtable+0x1c
void SetLocal2WorldWithWorldDataUpdate(const Matrix4& p_transform) override; // vtable+0x20
void UpdateWorldDataWithTransform(const Matrix4& p_transform) override; // vtable+0x24
virtual Tgl::Group* GetGeometry(); // vtable+0x30
virtual const Tgl::Group* GetGeometry() const; // vtable+0x34
int GetUnknown0xe0() { return m_unk0xe0; }
void SetUnknown0xe0(int p_unk0xe0) { m_unk0xe0 = p_unk0xe0; }
@@ -62,7 +62,7 @@ public:
static unsigned char SetLightSupport(unsigned char p_lightSupport);
protected:
void UpdateWorldData(const Matrix4& parent2world) override; // vtable+0x28
void UpdateWorldDataWithTransformAndChildren(const Matrix4& parent2world) override; // vtable+0x28
Tgl::Group* geometry; // 0xdc
int m_unk0xe0; // 0xe0