centos man page for glutsolidsierpinskisponge

Query: glutsolidsierpinskisponge

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNTITLED
LOCAL UNTITLED
NAME
glutSolidSierpinskiSponge -- Draw a solid Spierspinski's sponge.
LIBRARY
OpenGLUT - geometry
SYNOPSIS
#include <openglut.h> void glutSolidSierpinskiSponge(int num_levels, const GLdouble offset[ 3 ], GLdouble scale);
PARAMETERS
num_levels Recursive depth. offset Location vector. scale Relative size.
DESCRIPTION
This function recursively draws a few levels of a solid-shaded Sierpinski's Sponge. If num_levels is 0, draws 1 tetrahedron. The offset is a translation. The z axis is normal to the base. The sponge is centered at the origin.
CAVEATS
Runtime is exponential in num_levels .
TODO
Consider removing the offset parameter from the API (use a helper function).
SEE ALSO
glutWireSierpinskiSponge(3) Epoch
Related Man Pages
glutgamemodeget(3) - centos
glutsetwindow(3) - centos
glutspecialfunc(3) - centos
glutstrokestring(3) - centos
dbd::sponge(3) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
How to increment version inside a file?
DB2 convert digits to binary format
[TIP] Processing YAML files with yq