Skip to content

Reset cube rotation with button

Jeppe Thorup requested to merge gyro-reset into main
  1. Pressing the "Reset Gyro" button saves the current quaternion from the cube as gyroOffset
  2. Every time the cube is rendered, the inverse of gyroOffset is applied
Edited by Jeppe Thorup

Merge request reports