From 9ec740114a4e88d047358bb3b592a9798505a30b Mon Sep 17 00:00:00 2001 From: dcnieho Date: Mon, 19 Nov 2012 12:52:31 +0000 Subject: [PATCH] specified in docs with geometric objects need depth test enabled for correct rendering git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1441 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/web-src/docs/api.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index 7b1b99e..e8a387b 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -1711,8 +1711,9 @@ line of code a three-dimensional object which can be used to test a variety of OpenGL functionality. None of the routines generates a display list for the object which it draws. The functions generate normals appropriate for lighting but, except for the teapon functions, do not generate texture -coordinates. Depth testing (GL_LESS) should be enabled for the correct -drawing of some of the objects. +coordinates. Do note that depth testing (GL_LESS) should be enabled for +the correct drawing of the nonconvex objects, i.e., the glutTorus, +glutSierpinskiSponge and glutTeapot.

15.1 glutWireSphere, glutSolidSphere