mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-11 10:41:16 +00:00
Renaming local variables in HandleControl
This commit is contained in:
parent
695d1076c9
commit
1955b342ba
@ -261,11 +261,11 @@ MxLong Helicopter::HandleControl(LegoControlManagerNotificationParam& p_param)
|
|||||||
lookat *= 3.0f;
|
lookat *= 3.0f;
|
||||||
location += lookat;
|
location += lookat;
|
||||||
|
|
||||||
Mx3DPointFloat v68, va4, up;
|
Mx3DPointFloat cameraUp, right, up;
|
||||||
Mx3DPointFloat v90(0, 1, 0);
|
Mx3DPointFloat worldUp(0, 1, 0);
|
||||||
v68 = m_world->GetCameraController()->GetWorldUp();
|
cameraUp = m_world->GetCameraController()->GetWorldUp();
|
||||||
va4.EqualsCross(v68, direction);
|
right.EqualsCross(cameraUp, direction);
|
||||||
up.EqualsCross(va4, v90);
|
up.EqualsCross(right, worldUp);
|
||||||
|
|
||||||
if (isPizza) {
|
if (isPizza) {
|
||||||
if (((Act3*) m_world)->ShootPizza(m_pathController, location, direction, up) != SUCCESS) {
|
if (((Act3*) m_world)->ShootPizza(m_pathController, location, direction, up) != SUCCESS) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user