glutWireOctahedron man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

UNTITLED			     LOCAL			      UNTITLED

NAME
     glutWireOctahedron — Draw a wireframe octahedron.

LIBRARY
     OpenGLUT - geometry

SYNOPSIS
     #include <openglut.h>

     void
     glutWireOctahedron(void);

DESCRIPTION
     This function draws a regular wireframe 8-sided polyhedron centered at
     the origin.  The vertices are at (+/-1, 0, 0), (0, +/-1, 0), (0, 0,
     +/-1).

CAVEATS
     We visit the same vertices the same number of times as for the solid
     octahedron, but the order is different.

     Draws every edge twice.

     The lines have normals, but the normals are from the facets, rather than
     upon the edge.  If you squint too hard, the lighting on a wireframe octa‐
     hedron does not look quite right.

TODO
     It may be faster (and look better) to draw each edge once, setting the
     Normal at each edge.  (I don't think that this matters all that much, but
     a lineloop was proposed for the wire Cube for speed.)

SEE ALSO
     glutSolidOctahedron(3)

				     Epoch
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net