message: Camera ubo update code
diff: @@ -367,14 +367,18 @@ public:
  return;
  draw();
  if (animate) {
  + cubes[0].rotation.x += 2.5f * frameTimer;
  + if (cubes[0].rotation.x > 360.0f)
  + cubes[0].rotation.x -= 360.0f;
  + cubes[1].rotation.y += 2.0f * frameTimer;
  + if (cubes[1].rotation.x > 360.0f)
  + cubes[1].rotation.x -= 360.0f;
  updateCubeUniformBuffers();
  }
  - }
  -
  - virtual void viewChanged()
  - {
  + if (camera.updated) {
  updateUniformBuffers();
  }
  + }
  virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay)
  {
  