fix spacebar bug, fix ios depth buffer error, parallelize raytracing

This commit is contained in:
2019-01-12 18:01:23 +01:00
parent d5b5946b3d
commit e95421c2ed
4 changed files with 13 additions and 2 deletions

View File

@@ -281,7 +281,7 @@ bool App::gesture_end()
}
bool App::key_down(kKey key)
{
if (key == kKey::KeySpacebar)
if (key == kKey::KeySpacebar && vr_active)
canvas->m_canvas->m_cam_rot = vr_rot;
redraw = true;
keys[(int)key] = true;