[SDL] "GL/gl.h" and not "SDL_opengl" ?
prefect_ at gmx.net
Sat Nov 9 13:06:01 PST 2002
-----BEGIN PGP SIGNED MESSAGE-----
On Saturday 09 November 2002 21:31, Atrix Wolfe wrote:
> hello i have a question somewhat regarding this...
> does sdl_opengl include glu and/or glut?
SDL_opengl.h isn't protected by magic incantations. You can just open it,
and it's plain to see that it includes both gl.h and glu.h, but not glut.h
(GLUT is mostly a toolkit anyway, which you don't need when using SDL).
> Also i was wondering how would you draw a sphere without either of those?
Tesselate the sphere into individual polygons yourself, using basic
trigonometric functions (sin and cos).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the SDL