Changeset 3679 in orxonox.OLD for orxonox/branches/dave/src/shadow.h
- Timestamp:
- Mar 30, 2005, 8:01:06 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/dave/src/shadow.h
r3674 r3679 19 19 20 20 #include "importer/material.h" 21 #include "importer/model.h" 21 22 #include "p_node.h" 22 23 #include "world_entity.h" … … 26 27 { 27 28 private: 29 int player_id,ground_id; //These are for the glLists! 30 int shadow_id; //this is for the empty shadow texture 31 int lightPos[3]; 32 33 unsigned char *image; 34 Model* player; 35 28 36 void blur(unsigned char *in,int size); 37 void createShadow(); 38 void m_inverse(const float *m,float *out); 39 40 29 41 public: 30 Shadow( );42 Shadow(Model* player,float* groundVertexes); 31 43 ~Shadow(); 44 void init(); 45 void draw(); 32 46 33 47
Note: See TracChangeset
for help on using the changeset viewer.