Commit 435a3e19 authored by Thery Sylvain's avatar Thery Sylvain
Browse files

update of doc

parent 9dfe0773
...@@ -62,7 +62,8 @@ protected: ...@@ -62,7 +62,8 @@ protected:
public: public:
/** /**
* init shaders, texture and variables * init shaders, texture and variables
* @param withColorPerVertex if true use colorVBO else use predraw(color) * @param withColorPerVertex if true use setAttributeColor for per vertex color, else use predraw(color) for global color
* @param radius of sphere
*/ */
PointSprite(bool withColorPerVertex=false, float radius=1.0f); PointSprite(bool withColorPerVertex=false, float radius=1.0f);
...@@ -73,7 +74,7 @@ public: ...@@ -73,7 +74,7 @@ public:
/** /**
* call once before sending points to gpu * call once before sending points to gpu
* @param color set global color of sprite * @param color set global color of sprites
*/ */
void predraw(const Geom::Vec3f& color); void predraw(const Geom::Vec3f& color);
...@@ -99,7 +100,7 @@ public: ...@@ -99,7 +100,7 @@ public:
unsigned int setAttributePosition(VBO* vbo); unsigned int setAttributePosition(VBO* vbo);
/** /**
* set position attribute * set color attribute
*/ */
unsigned int setAttributeColor(VBO* vbo); unsigned int setAttributeColor(VBO* vbo);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment