initial attempt to add a visual food low warning (consumable falls to 25% and balance is ticking down)

This commit is contained in:
Mark Vejvoda
2011-10-18 15:41:37 +00:00
parent 9d1617e045
commit e5c5e22c26
2 changed files with 44 additions and 19 deletions

View File

@@ -404,9 +404,16 @@ public:
T z;
T w;
public:
Vec4(){
Vec4() {
};
explicit Vec4(const T *p){
this->x= p[0];
this->y= p[1];
this->z= p[2];
this->w= p[3];
}
explicit Vec4(T *p){
this->x= p[0];
this->y= p[1];