Changeset 3706 in orxonox.OLD for orxonox/branches/shadows/src/shadow.h
- Timestamp:
- Mar 31, 2005, 11:29:47 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/shadows/src/shadow.h
r3680 r3706 19 19 20 20 #include "importer/material.h" 21 #include "importer/ model.h"21 #include "importer/objModel.h" 22 22 #include "p_node.h" 23 23 #include "world_entity.h" 24 #include "player.h" 24 25 25 26 //! A Class to handle the Shadow … … 29 30 int player_id,ground_id; //These are for the glLists! 30 31 int shadow_id; //this is for the empty shadow texture 31 int lightPos[3]; 32 float lightPos[3]; 33 float playerPos[3]; 34 32 35 33 36 unsigned char *image; 34 Model* player; 37 OBJModel* player; 38 //playerangle used to obtain information about the angle of the player 39 Player* playerangle; 35 40 36 41 void blur(unsigned char *in,int size); … … 40 45 41 46 public: 42 Shadow( Model* player,float* groundVertexes);47 Shadow(OBJModel* player,Player* playerangle,float groundVertexes[]); 43 48 ~Shadow(); 44 49 void init(); 45 50 void draw(); 51 void updatePosition(float x,float y,float z); 46 52 47 53
Note: See TracChangeset
for help on using the changeset viewer.