cquir / ptcl

0 stars 0 forks source link

unit testing for ParticleWorld.ts #20

Closed cquir closed 2 years ago

cquir commented 2 years ago

I haven't added a unit test for the runPhysics method. I will add it later. Btw, I removed particleWorld.startFrame() because I don't think it's necessary since particle.clearAccumulator() is called every time particle.integrate() is called.