oculus1

view src/teapot.h @ 29:9a973ef0e2a3

fixed the performance issue under MacOSX by replacing glutSolidTeapot (which uses glEvalMesh) with my own teapot generator.
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 27 Oct 2013 06:31:18 +0200
parents
children
line source
1 #ifndef TEAPOT_H_
2 #define TEAPOT_H_
4 extern int patch_subdivision;
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 void bezier_teapot(float scale);
12 #ifdef __cplusplus
13 }
14 #endif
16 #endif /* TEAPOT_H_ */