Videos and reviews

Example 1 – cursor

Simple example that shows how to get position of cursor and draw it onto the cube. Color is created each time when the cursor is placed. Function printf can be used for various debugging purposes. This example also shows typical drawing sequence, which is usually used in most complex cases:

ClearCanvas() …. draw scene …. PrintCanvas()