1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> 2<html> 3 4<head> 5<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<title>GXDrawDodeca</title> 9</head> 10 11<body> 12 13<h1 align="left">GXDrawDodeca</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/gx.h> 18 19void GXDrawDodeca( void ); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<p>None.</p> 24 25<h2>Return Values</h2> 26<p>None.</p> 27 28<H2>Description</H2> 29<P>This function renders a unit dodecahedron. It generates both vertex coordinate and normal information in 32-bit floating point. The normals are face normals, so the dodecahedron appears flat-shaded. The function saves the current vertex descriptor and the vertex attribute format used before drawing (and restores them afterward), so as not to interfere with the application's state. An example usage is:<br></P> 30<DL><DD><CODE><A href="GXDrawDodeca.html">GXDrawDodeca</A>();</CODE></DD></DL> 31<P>The model is drawn centered about the origin.</P> 32 33<h2>See Also</h2> 34<p>None.</p> 35 36<H2>Revision History</H2> 37<P> 382006/03/01 Initial version.<br> 39</P> 40 41<hr><p>CONFIDENTIAL</p></body> 42</HTML>