vrapi: Fix lovr.headset.animate flipping left hand;
@@ -602,8 +602,8 @@ static bool vrapi_animate(Device device, struct Model* model) {
float compensate[4];
if (device == DEVICE_HAND_LEFT) {
float q[4];
- quat_fromAngleAxis(compensate, (float) -M_PI, 0.f, 0.f, 1.f);
- quat_mul(compensate, compensate, quat_fromAngleAxis(q, (float) -M_PI / 2.f, 0.f, 1.f, 0.f));
+ quat_fromAngleAxis(compensate, (float) M_PI, 0.f, 0.f, 1.f);
+ quat_mul(compensate, compensate, quat_fromAngleAxis(q, (float) M_PI / 2.f, 0.f, 1.f, 0.f));
} else {
quat_fromAngleAxis(compensate, (float) -M_PI / 2.f, 0.f, 1.f, 0.f);
}
