Query: glutwireoctahedron
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNTITLEDLOCAL UNTITLEDNAMEglutWireOctahedron -- Draw a wireframe octahedron.LIBRARYOpenGLUT - geometrySYNOPSIS#include <openglut.h> void glutWireOctahedron(void);DESCRIPTIONThis 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).CAVEATSWe 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 octahedron does not look quite right.TODOIt 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 ALSOglutSolidOctahedron(3) Epoch
Related Man Pages |
---|
glutsolidteapot(3glut) - mojave |
glutwireteapot(3glut) - redhat |
glutpopwindow(3) - centos |
glutsetwindow(3) - centos |
glutsolidteapot(3glut) - osx |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Tar Command |
CentOS7 restoring file capabilities |
[TIP] Processing YAML files with yq |
Please Welcome Dave Munro to the Moderator Team! |