mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-30 00:37:58 +03:00
Fixed math function names; Fixed effects rendering; Fixed Lara matrices;
This commit is contained in:
parent
11d1c5716f
commit
5de650a634
5 changed files with 27 additions and 38 deletions
|
@ -1439,7 +1439,7 @@ void GameScriptItem::SetZPos(float z)
|
|||
|
||||
float GameScriptItem::GetXRot()
|
||||
{
|
||||
return TR_ANGLE_TO_DEGREES(NativeItem->pos.xRot);
|
||||
return TO_DEGREES(NativeItem->pos.xRot);
|
||||
}
|
||||
|
||||
void GameScriptItem::SetXRot(float x)
|
||||
|
@ -1452,7 +1452,7 @@ void GameScriptItem::SetXRot(float x)
|
|||
|
||||
float GameScriptItem::GetYRot()
|
||||
{
|
||||
return TR_ANGLE_TO_DEGREES(NativeItem->pos.yRot);
|
||||
return TO_DEGREES(NativeItem->pos.yRot);
|
||||
}
|
||||
|
||||
void GameScriptItem::SetYRot(float y)
|
||||
|
@ -1465,7 +1465,7 @@ void GameScriptItem::SetYRot(float y)
|
|||
|
||||
float GameScriptItem::GetZRot()
|
||||
{
|
||||
return TR_ANGLE_TO_DEGREES(NativeItem->pos.zRot);
|
||||
return TO_DEGREES(NativeItem->pos.zRot);
|
||||
}
|
||||
|
||||
void GameScriptItem::SetZRot(float z)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue