coeng
view src/co_dbgvis.h @ 7:af24cfbdf9b6
adding collision detection
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 Feb 2015 10:08:00 +0200 |
parents | 2f872a179914 |
children |
line source
1 #ifndef CO_DBGVIS_H_
2 #define CO_DBGVIS_H_
4 #include "comp.h"
5 #include "co_xform.h"
7 class CoSphereVis : public Component {
8 protected:
9 CoXForm *co_xform;
11 public:
12 float radius;
13 Vector3 color;
15 CoSphereVis();
17 void update(float dt);
18 void draw() const;
19 };
21 #endif // CO_DBGVIS_H_