mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-13 18:17:49 -04:00
Merge pull request #321 from Hoikas/refresh-fov
RefreshFOV Camera Command
This commit is contained in:
@ -373,3 +373,11 @@ bool cyCamera::IsStayInFirstPerson()
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void cyCamera::RefreshFOV()
|
||||
{
|
||||
plCameraMsg* pMsg = new plCameraMsg();
|
||||
pMsg->SetSender(fSender);
|
||||
pMsg->SetCmd(plCameraMsg::kRefreshFOV);
|
||||
pMsg->Send(fTheCam);
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ public:
|
||||
|
||||
virtual void SetAspectRatio(float aspectratio) { plVirtualCam1::SetAspectRatio(aspectratio); }
|
||||
virtual float GetAspectRatio() const { return plVirtualCam1::GetAspectRatio(); }
|
||||
virtual void RefreshFOV() { plVirtualCam1::Refresh(); }
|
||||
virtual void RefreshFOV();
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user