Remove guard against null sittingToStanding matrix;
@@ -23,20 +23,14 @@ static void onRequestAnimationFrame(void* userdata) {
float transform[16];
mat4 sittingToStanding = emscripten_vr_get_sitting_to_standing_matrix();
-
- if (sittingToStanding) {
mat4_invert(sittingToStanding);
- }
for (HeadsetEye eye = EYE_LEFT; eye <= EYE_RIGHT; eye++) {
int isRight = eye == EYE_RIGHT;
mat4_set(projection, emscripten_vr_get_projection_matrix(isRight));
mat4_set(transform, emscripten_vr_get_view_matrix(isRight));
-
- if (sittingToStanding) {
mat4_multiply(transform, sittingToStanding);
- }
lovrGraphicsPush();
lovrGraphicsOrigin();
