Added simulated head-tracking on VR simulator

A simple 1st person camera... still requires some work...
This commit is contained in:
Ray
2016-10-09 20:56:58 +02:00
parent 3396743aba
commit 5af1b4a7c9
3 changed files with 12 additions and 2 deletions

View File

@@ -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)
{