onetextri Demo
This demo draws a rotating square with the numeral ‘2’ as a texture map
Options
- onetextri -help lists options
- onetextri defaults (texture, flat shading, no perspective projection, perspective correction)
- onetextri -texture draw rectangle without texture
- onetextri +smooth use smooth shading
- onetextri +ortho use ortho projection
Depending on the options, different triangle functions in ‘triangle.c’ will be called
- with no options, ‘simple_textured_triangle’ called
- with -texture, ‘flat_rgba_triangle’ called