Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 1, 2007, 10:12:43 PM (19 years ago)
Author:
marcscha
Message:

replacement of wobble upgrade function through function pointer approach

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/effects/wobblegrid.h

    r10154 r10157  
    2929    virtual void draw() const;
    3030
     31    inline void setUpdateFunction(float (*updateFct)(float value)) { if( updateFct)  this->updateWobble = updateFct;};
     32
    3133  private:
     34    float (*updateWobble)(float value);
     35
     36    void orient();
     37
    3238    Material*        material;
    3339    Grid*            grid;      //!< current projected positions transformed into billboard state
Note: See TracChangeset for help on using the changeset viewer.