Skip to content
Snippets Groups Projects
Commit 1686e92b authored by Pascal Engeler's avatar Pascal Engeler
Browse files

more info

parent cd62e7e8
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ Todo ...@@ -91,7 +91,7 @@ Todo
**Usage** **Usage**
- Construct object (e.g. when new finger goes down) - Construct object (e.g. when new finger goes down)
- `start_drawing` with initial position (e.g. with finger down position) - `start_drawing` with initial position (e.g. with finger down position)
- Upon new location (e.g. finger motion to new position), setup Opengl state (use shader, bind FBO, bind VAO, **bind VBO**, set viewport, bind textures) and call `draw`. Call `redraw` with all required FBO/texture combinations. - Upon new location (e.g. finger motion to new position), setup Opengl state (use shader `draw`, bind FBO, bind VAO, **bind VBO**, set viewport, bind textures) and call `draw`. Call `redraw` with all required FBO/texture combinations.
- Destruct when drawing this line is finished (e.g. finger is lifted) - Destruct when drawing this line is finished (e.g. finger is lifted)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment