mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-27 21:48:31 +00:00
Added simulated head-tracking on VR simulator
A simple 1st person camera... still requires some work...
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user