Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3679 in orxonox.OLD for orxonox/branches/dave/src/shadow.h


Ignore:
Timestamp:
Mar 30, 2005, 8:01:06 PM (20 years ago)
Author:
dave
Message:

branches/shadows: another try

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/dave/src/shadow.h

    r3674 r3679  
    1919
    2020#include "importer/material.h"
     21#include "importer/model.h"
    2122#include "p_node.h"
    2223#include "world_entity.h"
     
    2627{
    2728    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       
    2836        void blur(unsigned char *in,int size);
     37        void createShadow();
     38        void m_inverse(const float *m,float *out);
     39       
     40   
    2941    public:
    30         Shadow();
     42        Shadow(Model* player,float* groundVertexes);
    3143        ~Shadow();
     44        void init();
     45        void draw();
    3246
    3347
Note: See TracChangeset for help on using the changeset viewer.