The CSapin class is just made to draw pine-trees (Sapin means Pine-tree), it is based on a .ase 3D object. For the moment you have no choice of the color (unless you modify it in the code), but I'll change it later, you also have to glTranslate*() it to draw it where you want, I'll add a functionality to draw it directly at a certain position.
| int | LoadSapin(char *filename); |
| void | ReleaseSapin(); |
| void | DrawSapin(); |
LoadSapin()
will load a pine-tree object into memory and will
return 1 on success and 0 on error. I advice you to
use the "sapin.ase" file there is with the source
code, you can modify it, but keep it a pine-tree
form please ;)
ReleaseSapin() will free memory.
DrawSapin() will draw the pine-tree in the
OpenGL viewport.

A example of the pine-tree