oculus1
annotate 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 |
rev | line source |
---|---|
nuclear@29 | 1 #ifndef TEAPOT_H_ |
nuclear@29 | 2 #define TEAPOT_H_ |
nuclear@29 | 3 |
nuclear@29 | 4 extern int patch_subdivision; |
nuclear@29 | 5 |
nuclear@29 | 6 #ifdef __cplusplus |
nuclear@29 | 7 extern "C" { |
nuclear@29 | 8 #endif |
nuclear@29 | 9 |
nuclear@29 | 10 void bezier_teapot(float scale); |
nuclear@29 | 11 |
nuclear@29 | 12 #ifdef __cplusplus |
nuclear@29 | 13 } |
nuclear@29 | 14 #endif |
nuclear@29 | 15 |
nuclear@29 | 16 #endif /* TEAPOT_H_ */ |