Page MenuHomec4science

partsystem.h
No OneTemporary

File Metadata

Created
Thu, Dec 5, 05:22

partsystem.h

#ifndef __PARTSYSTEM_H__
#define __PARTSYSTEM_H__
#include "matpoint.h"
#include <vector>
class PartSystem : public Shape
{
public:
PartSystem( sid_t sid,
const std::vector<MatPoint*>& particles = {},
const std::string label = "",
const struct render_s *flags = 0);
~PartSystem();
virtual void interaction(MatPoint*, MatPoint*) = 0;
void update(const float &dt);
private:
std::vector<MatPoint*> particles;
};
#endif

Event Timeline