rayzor
annotate src/modeller.h @ 17:79609d482762
the renderer renders, also fixed an unnoticed matrix conversion problem between scenegraph and min3d
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 14 Apr 2014 07:34:45 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@9 | 1 #ifndef MODELLER_H_ |
nuclear@9 | 2 #define MODELLER_H_ |
nuclear@9 | 3 |
nuclear@9 | 4 #include "screen.h" |
nuclear@9 | 5 |
nuclear@9 | 6 struct ModellerImpl; |
nuclear@9 | 7 |
nuclear@9 | 8 class Modeller : public Screen { |
nuclear@9 | 9 private: |
nuclear@9 | 10 ModellerImpl *mod; |
nuclear@9 | 11 |
nuclear@9 | 12 public: |
nuclear@9 | 13 Modeller(); |
nuclear@9 | 14 ~Modeller(); |
nuclear@9 | 15 |
nuclear@9 | 16 bool init(); |
nuclear@9 | 17 void shutdown(); |
nuclear@9 | 18 |
nuclear@9 | 19 void draw() const; |
nuclear@9 | 20 |
nuclear@9 | 21 void handle_keyboard(int key, bool press); |
nuclear@9 | 22 void handle_mbutton(int bn, bool press, int x, int y); |
nuclear@9 | 23 void handle_mmotion(int x, int y); |
nuclear@9 | 24 }; |
nuclear@9 | 25 |
nuclear@9 | 26 #endif // MODELLER_H_ |