source: trunk/orbital/orbital.h @ 1256

Last change on this file since 1256 was 1256, checked in by sam, 9 years ago

orbital: split model matrix into modelview and projection so that we
can start working on lighting.

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