mirror of https://github.com/AxioDL/metaforce.git
CHudFreeLookInterfaceXRay: Assign free look and control held flags in SetFreeLookState()
GM8Ev0 does this.
This commit is contained in:
parent
ad07b993c8
commit
413483a996
|
@ -133,6 +133,9 @@ void CHudFreeLookInterfaceXRay::SetIsVisibleGame(bool v) {
|
||||||
|
|
||||||
void CHudFreeLookInterfaceXRay::SetFreeLookState(bool inFreeLook, bool lookControlHeld, bool lockedOnObj,
|
void CHudFreeLookInterfaceXRay::SetFreeLookState(bool inFreeLook, bool lookControlHeld, bool lockedOnObj,
|
||||||
float vertLookAngle) {
|
float vertLookAngle) {
|
||||||
|
x20_inFreeLook = inFreeLook;
|
||||||
|
x21_lookControlHeld = lookControlHeld;
|
||||||
|
|
||||||
x2c_model_freelookleft->SetLocalTransform(
|
x2c_model_freelookleft->SetLocalTransform(
|
||||||
zeus::CTransform(zeus::CMatrix3f::RotateY(vertLookAngle), x4_freeLookLeftPos));
|
zeus::CTransform(zeus::CMatrix3f::RotateY(vertLookAngle), x4_freeLookLeftPos));
|
||||||
x30_model_freelookright->SetLocalTransform(
|
x30_model_freelookright->SetLocalTransform(
|
||||||
|
|
Loading…
Reference in New Issue