A IMO more readable code with helper function, haven't changed the content except reducing the amount of variables only needed for one calculation & changing mass to inversemass (& division -> multiplication). Weird things such as dividing by inverse mass is still there, and problems such as undescript variable names and no testing is still probably good to address on branch #36.
A IMO more readable code with helper function, haven't changed the content except reducing the amount of variables only needed for one calculation & changing mass to inversemass (& division -> multiplication). Weird things such as dividing by inverse mass is still there, and problems such as undescript variable names and no testing is still probably good to address on branch #36.