base class for all particles TODO: Idea: implement an interface that somehow every particle knows how...
Definition: CollidableParticleBase.h:19
CollidableParticleBase(Eigen::Vector3d rPosition, Eigen::Vector3d rVelocity, int rIndex)
constructor, every particle needs a position, a velocity and an identifier
Definition: CollidableParticleBase.cpp:11
virtual double GetVolume() const =0
getter for the particle volume
Eigen::Vector3d mPosition
particle position
Definition: CollidableParticleBase.h:36
virtual double GetKineticEnergy() const =0
getter for the kinetic energy of the particle
Eigen::Vector3d mVelocity
particle velocity
Definition: CollidableParticleBase.h:39