mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
Adjustments to "decomp" language
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
|
||||
DECOMP_SIZE_ASSERT(OrientableROI, 0xdc)
|
||||
|
||||
// OFFSET: LEGO1 0x100a5910
|
||||
// FUNCTION: LEGO1 0x100a5910
|
||||
void OrientableROI::VTable0x1c()
|
||||
{
|
||||
UpdateWorldBoundingVolumes();
|
||||
UpdateWorldVelocity();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100a5930
|
||||
// FUNCTION: LEGO1 0x100a5930
|
||||
void OrientableROI::SetLocalTransform(const Matrix4Impl& p_transform)
|
||||
{
|
||||
reinterpret_cast<Matrix4Impl&>(m_local2world) = p_transform;
|
||||
@@ -19,7 +19,7 @@ void OrientableROI::SetLocalTransform(const Matrix4Impl& p_transform)
|
||||
UpdateWorldVelocity();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100a5960
|
||||
// FUNCTION: LEGO1 0x100a5960
|
||||
void OrientableROI::VTable0x24(const Matrix4Data& p_transform)
|
||||
{
|
||||
Matrix4Data l_matrix(m_local2world);
|
||||
@@ -28,7 +28,7 @@ void OrientableROI::VTable0x24(const Matrix4Data& p_transform)
|
||||
UpdateWorldVelocity();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100a59b0
|
||||
// FUNCTION: LEGO1 0x100a59b0
|
||||
void OrientableROI::UpdateWorldData(const Matrix4Data& p_transform)
|
||||
{
|
||||
Matrix4Data l_matrix(m_local2world);
|
||||
@@ -44,24 +44,24 @@ void OrientableROI::UpdateWorldData(const Matrix4Data& p_transform)
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100a5a50
|
||||
// FUNCTION: LEGO1 0x100a5a50
|
||||
void OrientableROI::UpdateWorldVelocity()
|
||||
{
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100a5d80
|
||||
// FUNCTION: LEGO1 0x100a5d80
|
||||
const Vector3& OrientableROI::GetWorldVelocity() const
|
||||
{
|
||||
return (Vector3&) *m_world_velocity.GetData();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100a5d90
|
||||
// FUNCTION: LEGO1 0x100a5d90
|
||||
const BoundingBox& OrientableROI::GetWorldBoundingBox() const
|
||||
{
|
||||
return m_world_bounding_box;
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100a5da0
|
||||
// FUNCTION: LEGO1 0x100a5da0
|
||||
const BoundingSphere& OrientableROI::GetWorldBoundingSphere() const
|
||||
{
|
||||
return m_world_bounding_sphere;
|
||||
|
||||
Reference in New Issue
Block a user