mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 14:44:08 +00:00
PlayerInfo functions reordered into original order, FindPlayer... functions moved to PlayerInfo, improved CVector <-> RwV3d conversion, small fixes
This commit is contained in:
parent
2903ebe296
commit
cfda5eb148
30 changed files with 449 additions and 482 deletions
|
@ -1597,7 +1597,7 @@ CBike::PreRender(void)
|
|||
CVector forkAxis(0.0f, Sin(DEGTORAD(mi->m_bikeSteerAngle)), -Cos(DEGTORAD(mi->m_bikeSteerAngle)));
|
||||
forkAxis.Normalise(); // as if that's not already the case
|
||||
CQuaternion quat;
|
||||
quat.Set((RwV3d*)&forkAxis, -m_fWheelAngle);
|
||||
quat.Set(&forkAxis, -m_fWheelAngle);
|
||||
quat.Get(rot.m_attachment);
|
||||
rot.Update();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue