Unix/Linux Go Back    


CentOS 7.0 - man page for glutsolidsierpinskisponge (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


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 nor-
     mal 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
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 05:10 PM.