[SDL] "GL/gl.h" and not "SDL_opengl" ?
Nicolai Haehnle
prefect_ at gmx.net
Sat Nov 9 13:06:01 PST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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).
cu,
Nicolai
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE9zXkUsxPozBga0lwRAt3kAJ9TVV56W0or031w1TOVrDtpgmZacACfWO5o
PY97/ouBqD5HZtSf8O342Y4=
=uTxd
-----END PGP SIGNATURE-----
More information about the SDL
mailing list