mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-28 02:44:18 +00:00
Implement/match LegoEntity::GetWorldPosition/Direction/Up (#672)
* Implement/match LegoEntity::GetPosition/Direction/Up * Rename
This commit is contained in:
committed by
GitHub
parent
aaee10949e
commit
7edad07d18
@@ -199,12 +199,12 @@ void LegoPointOfViewController::SetEntity(LegoEntity* p_entity)
|
||||
|
||||
CalcLocalTransform(
|
||||
Mx3DPointFloat(
|
||||
m_entity->GetEntityLocation()[0],
|
||||
m_entity->GetEntityLocation()[1] + m_entityOffsetUp,
|
||||
m_entity->GetEntityLocation()[2]
|
||||
m_entity->GetWorldPosition()[0],
|
||||
m_entity->GetWorldPosition()[1] + m_entityOffsetUp,
|
||||
m_entity->GetWorldPosition()[2]
|
||||
),
|
||||
m_entity->GetEntitydDirection(),
|
||||
m_entity->GetEntityUp(),
|
||||
m_entity->GetWorldDirection(),
|
||||
m_entity->GetWorldUp(),
|
||||
mat
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user