Open brackeen opened 4 years ago
Sensor input is implemented on iOS and Android, but not for Web. Sensors: accelerometer, magnetometer, gyroscope, rotation matrix
To implement in glfm_platform_emscripten.c:
glfm_platform_emscripten.c
glfmIsSensorAvailable
_glfmSensorFuncUpdated
Sensor output must match the iOS/Android versions.
Sensor input is implemented on iOS and Android, but not for Web. Sensors: accelerometer, magnetometer, gyroscope, rotation matrix
To implement in
glfm_platform_emscripten.c
:glfmIsSensorAvailable
_glfmSensorFuncUpdated
(enable/disable sensors as needed)Sensor output must match the iOS/Android versions.