runtime: Formatting

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-01-18 17:04:17 +01:00
parent cc1340190e
commit 2196cb8419
119 changed files with 10326 additions and 7798 deletions
+22 -22
View File
@@ -5,38 +5,38 @@
#include "geom.hpp"
#include "texture.hpp"
class Brush{
public:
class Brush {
public:
Brush();
Brush( const Brush &t );
Brush( const Brush &a,const Brush &b );
Brush(const Brush& t);
Brush(const Brush& a, const Brush& b);
~Brush();
Brush &operator=( const Brush &t );
Brush& operator=(const Brush& t);
void setColor( const Vector &color );
void setAlpha( float alpha );
void setShininess( float shininess );
void setBlend( int blend );
void setFX( int fx );
void setTexture( int index,const Texture &t,int frame );
void setColor(const Vector& color);
void setAlpha(float alpha);
void setShininess(float shininess);
void setBlend(int blend);
void setFX(int fx);
void setTexture(int index, const Texture& t, int frame);
const Vector &getColor()const;
float getAlpha()const;
float getShininess()const;
int getBlend()const;
int getFX()const;
Texture getTexture( int index )const;
const Vector& getColor() const;
float getAlpha() const;
float getShininess() const;
int getBlend() const;
int getFX() const;
Texture getTexture(int index) const;
const gxScene::RenderState &getRenderState()const;
const gxScene::RenderState& getRenderState() const;
bool operator<( const Brush &b )const;
bool operator<(const Brush& b) const;
private:
private:
struct Rep;
mutable Rep *rep;
mutable Rep* rep;
Rep *write()const;
Rep* write() const;
};
#endif