Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
IParticle.h
1 #pragma once
2 #include "include_glm.h"
3 
4 
5 #define standardLifetime 10000;
6 class IParticle{
10 public:
11  virtual ~IParticle() = 0;
12  virtual void update() = 0;
13  virtual void spawn() = 0;
14 
15  glm::vec3 _position;
16  glm::vec3 _direction;
17  float _velocity;
18  float _remainingLifetime;
19 
20 };
21 
22 
23 
Definition: IParticle.h:9