
Today, a small code sample (in Lua) that shows how to use the mouse to put where you want on the screen a letter with random parameters (position, scaling, orientation and color).
3D Programming, Prototyping and Gamedev with GeeXLab
Today, a small code sample (in Lua) that shows how to use the mouse to put where you want on the screen a letter with random parameters (position, scaling, orientation and color).
OpenGL defines 3 modes for rendering a polygon: point (GL_POINT), line (GL_LINE) and solid (GL_FILL). The default polygon rendering mode is solid.