Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 28, 2007, 1:37:55 AM (17 years ago)
Author:
stefalie
Message:

blink: more clean up + positioning works now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blink/src/world_entities/effects/blink.h

    r10427 r10429  
    2424    void loadParams(const TiXmlElement* root);
    2525
    26     void setPosition(float x, float y, float z) { this->position = Vector(x, y, z); }
     26    void setPosition(float x, float y, float z) { this->bBoard->setAbsCoor(x, y, z); }
    2727    void setSize(float s) { this->size = s; this->bBoard->setSize(this->size, this->size); }
    2828    void setOmega(float w) { this->omega = w; }
     
    3434  private:
    3535    Billboard*        bBoard;
    36     Vector            position;
     36    //Vector            position;
    3737    Color             color;
    3838    float             angle;
Note: See TracChangeset for help on using the changeset viewer.