Files
igl/examples/trackball/README
T
jalec 12b2bc14aa Added some header ifdefs,
translator for Cocoa key codes to anttweakbar's
small trackball GLUT example


Former-commit-id: b9fa47bc2f
2011-09-17 10:22:46 +00:00

19 lines
323 B
Plaintext

This is a simple GLUT-based example that shows how to use igl's trackball.h
function.
To compile:
make
Usage:
./example
or
./example [positive speed factor]
Interaction:
Drag on screen to use trackball
Press SPACE to change shape
Example #1:
# use a speed factor of 2: twice as fast trackball
./example 2