oculus1
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/teapot.h Sun Oct 27 06:31:18 2013 +0200 1.3 @@ -0,0 +1,16 @@ 1.4 +#ifndef TEAPOT_H_ 1.5 +#define TEAPOT_H_ 1.6 + 1.7 +extern int patch_subdivision; 1.8 + 1.9 +#ifdef __cplusplus 1.10 +extern "C" { 1.11 +#endif 1.12 + 1.13 +void bezier_teapot(float scale); 1.14 + 1.15 +#ifdef __cplusplus 1.16 +} 1.17 +#endif 1.18 + 1.19 +#endif /* TEAPOT_H_ */