Alec Jacobson 4783f7505d IGL_HEADER_ONLY --> ~IGL_STATIC_LIBRARY 11 years ago
..
Makefile 4783f7505d IGL_HEADER_ONLY --> ~IGL_STATIC_LIBRARY 11 years ago
README 47136a5d14 get_seconds example, still not sure why ctime is not working with GLUT... 13 years ago
example.cpp bd4d115fea major reorganization of directory structure 13 years ago

README

Simple program showing how to use get_seconds from the igl library

Compile with:
make

Run with:
./example
which should produces something similar to:
start: 0.001414s
1.00141s - 0.001414s = 1s
2.00141s - 0.001414s = 2s
3.00142s - 0.001414s = 3s
4.00141s - 0.001414s = 4s
5.00141s - 0.001414s = 5s
6.00141s - 0.001414s = 6s
7.00141s - 0.001414s = 7s
8.00141s - 0.001414s = 8s
9.00141s - 0.001414s = 9s
10.0014s - 0.001414s = 10s
end: 10.0014s