Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //the capture mouse part makes sure we dont pick object when clicking on GUI
- if (InputSystem::get_mouse_button_down(0) && !ImGui::GetIO().WantCaptureMouse) {
- renderer.settings.pick = true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement