source: trunk/orbital/orbital.h @ 1301

Last change on this file since 1301 was 1301, checked in by sam, 8 years ago

orbital: create a Camera class where we will hide the complexity.

File size: 550 bytes
Line 
1#if !defined __ORBITAL_H__
2#define __ORBITAL_H__
3
4#include "mesh.h"
5#include "particlesystem.h"
6#include "camera.h"
7
8class Orbital : public WorldEntity
9{
10public:
11    Orbital();
12    virtual ~Orbital();
13
14    char const *GetName() { return "<orbital>"; }
15
16protected:
17    virtual void TickGame(float deltams);
18    virtual void TickDraw(float deltams);
19
20private:
21    Mesh m;
22    float m_angle;
23    mat4 m_modelview, m_proj;
24    mat3 m_normalmat;
25
26    ParticleSystem *m_particlesystem;
27    Camera *m_camera;
28
29    bool m_ready;
30};
31
32#endif // __ORBITAL_H__
33
Note: See TracBrowser for help on using the repository browser.