capta1nseal / 2D-gravity-sim

2D gravity simulation made with c++ and sdl2
GNU General Public License v3.0
1 stars 0 forks source link

Clean up the interface for adding particles and changing parameters through code #7

Closed capta1nseal closed 7 months ago

capta1nseal commented 7 months ago

Currently, one must edit a few source files to change the initial conditions of the simulation, or to have any way to change them later on. There are already methods implemented but unused for the camera's parameters, but the interface for initializing and setting up non-attractor particles specifically needs some work. This is also partly future planning, so that models (such as the current solar system model) can be loaded from outside the program's source with minimal extra work.