Probably going to do this by casting a ray from camera in view direction and check every particle if it intersects.
Make a different file for this, eg. mousePicker.cpp
Then add ImGuizmo to move particles/lights around and change their properties with imgui
search youtube for mouse picking opengl.
Probably going to do this by casting a ray from camera in view direction and check every particle if it intersects. Make a different file for this, eg. mousePicker.cpp
Then add ImGuizmo to move particles/lights around and change their properties with imgui