fix comments and style

This commit is contained in:
ZappoMan 2013-11-01 14:36:20 -07:00
parent b3aac56d29
commit f5d09c0218

View file

@ -13,7 +13,7 @@
class ProgramObject;
/// A generic full screen glow effect.
/// A shader program that draws voxels as points with variable sizes
class PointShader : public QObject {
Q_OBJECT
@ -23,25 +23,21 @@ public:
void init();
/// Starts using the voxel geometry shader effect.
/// Starts using the voxel point shader program.
void begin();
/// Stops using the voxel geometry shader effect.
/// Stops using the voxel point shader program.
void end();
/// Gets access to attributes from the shader program
int attributeLocation(const char * name) const;
int uniformLocation(const char * name) const;
int attributeLocation(const char* name) const;
int uniformLocation(const char* name) const;
void setUniformValue(int attributeLocation, float value);
static ProgramObject* createPointShaderProgram(const QString& name);
public slots:
private:
bool _initialized;
ProgramObject* _program;
};