Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

blink: 1 bug less

File:
1 edited

Legend:

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

    r10407 r10425  
    88#include "world_entity.h"
    99#include "effects/billboard.h"
     10#include "color.h"
    1011
    1112class Material;
     
    2627    void setSize(float s) { this->size = s; this->bBoard->setSize(this->size, this->size); }
    2728    void setOmega(float w) { this->omega = w; }
    28     void setColor(float r, float g, float b) { this->color = Vector(r, g, b); }
     29    void setColor(float r, float g, float b) { this->color = Color(r/255, g/255, b/255); }
    2930    //void setTexture(const std::string& textureFile);
    3031
     
    3334
    3435  private:
    35     Material*         material;
     36    //Material*         material;
    3637    Billboard*        bBoard;
    3738    Vector            position;
    38     Vector            color;
     39    Color             color;
    3940    float             angle;
    4041    float             omega;
Note: See TracChangeset for help on using the changeset viewer.