source: trunk/orbital/orbital.h @ 1275

Last change on this file since 1275 was 1260, checked in by sam, 10 years ago

orbital: basic lighting in the mesh builder.

File size: 441 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    mat3 m_normalmat;
23
24    bool m_ready;
25};
26
27#endif // __ORBITAL_H__
28
Note: See TracBrowser for help on using the repository browser.