Added simulated head-tracking on VR simulator
A simple 1st person camera... still requires some work...
This commit is contained in:
parent
3396743aba
commit
5af1b4a7c9
1 changed files with 12 additions and 2 deletions
|
|
@ -2710,6 +2710,12 @@ bool IsVrDeviceReady(void)
|
|||
return (vrDeviceReady || vrSimulator) && vrEnabled;
|
||||
}
|
||||
|
||||
// Detect if VR simulator is running
|
||||
bool IsVrSimulator(void)
|
||||
{
|
||||
return vrSimulator;
|
||||
}
|
||||
|
||||
// Enable/Disable VR experience (device or simulator)
|
||||
void ToggleVrMode(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue