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
16<h2>C Specification</h2>
17
18<dl>
19<dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE></dd>
20<dd><pre><CODE>void GXDrawDodeca( void );</CODE></pre></dd>
21</dl><h2>Arguments</h2>
22
23<p>None.</p>
24
25<h2>Return Values</h2>
26
27<p>None.</p>
28<H2>Description</H2>
29<P>This function draws a unit dodecahedron.&nbsp;It generates both position and normal information in 32-bit floating point. The normals are face normals, so the dodecahedron appears flat-shaded.&nbsp;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.&nbsp; An example usage is:<br></P>
30<P><a href="GXDrawCube.html">GXDrawDodeca</a>();</code><br></P>
31<P>The model is drawn centered about the origin.</P>
32
33
34
35
36<h2>See Also</h2>
37<H2>Revision History</H2>
38<P>03/01/2006 Initial version.</P>
39</BODY>
40</HTML>