Page MenuHomec4science

particle.h
No OneTemporary

File Metadata

Created
Thu, Dec 12, 22:28

particle.h

#ifndef __PARTICLE_H__
#define __PARTICLE_H__
#include "vect3d.h"
struct Particle
{
Vector position;
Vector speed;
double mass;
Vector forces;
Particle( double mass,
const Vector& position = nullv,
const Vector& speed = nullv);
Particle(const Particle& particle);
~Particle();
void update(const float &dt);
};
#endif

Event Timeline