Alec Jacobson 7dc6f085c5 missing file and examples with new dependency namespaces 10 سال پیش
..
Makefile cde5051cad rm old build dir, use cmake 10 سال پیش
README 47136a5d14 get_seconds example, still not sure why ctime is not working with GLUT... 14 سال پیش
example.cpp 7dc6f085c5 missing file and examples with new dependency namespaces 10 سال پیش

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