App::I static singleton to pointer
This commit is contained in:
@@ -323,7 +323,7 @@ void App::vr_draw(const glm::mat4& proj, const glm::mat4& camera, const glm::mat
|
||||
}
|
||||
}
|
||||
|
||||
App::I.grid->draw_heightmap(proj, camera, false);
|
||||
App::I->grid->draw_heightmap(proj, camera, false);
|
||||
|
||||
float tan_fov = glm::tan(glm::radians(canvas->m_canvas->m_cam_fov / 2.f));
|
||||
glm::vec3 aspect = { (float)uirtt.getWidth() / (float)uirtt.getHeight(), 1.f, 1.f };
|
||||
|
||||
Reference in New Issue
Block a user