1 /*---------------------------------------------------------------------------*
2   Project:  Dolphin GX library
3   File:     GXDraw.h
4 
5   Copyright 1998-2002 Nintendo.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Log: GXDraw.h,v $
14   Revision 1.2  2006/02/04 11:56:46  hashida
15   (none)
16 
17   Revision 1.1.1.1  2005/12/29 06:53:28  hiratsu
18   Initial import.
19 
20   Revision 1.1.1.1  2005/05/12 02:41:07  yasuh-to
21   transitioned from the Dolphin source tree
22 
23 
24     2     02/07/24 9:06 Hirose
25     Resolved version conflicts.
26 
27     4     9/23/99 5:37p Alligator
28     added GenNormalTable func
29 
30     3     7/20/99 6:30p Alligator
31     added new models, all models are normalized, no vtxfmt needed
32 
33     2     7/16/99 2:04p Alligator
34 
35     1     7/16/99 1:06p Alligator
36     procedural models used in tests
37   $NoKeywords: $
38  *---------------------------------------------------------------------------*/
39 
40 #ifndef __GXDRAW_H__
41 #define __GXDRAW_H__
42 
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46 
47 /*---------------------------------------------------------------------------*/
48 #include <revolution/types.h>
49 #include <revolution/gx/GXEnum.h>
50 
51 void GXDrawCylinder(u8 numEdges);
52 void GXDrawTorus(f32 rc, u8 numc, u8 numt);
53 void GXDrawSphere(u8 numMajor, u8 numMinor);
54 void GXDrawCube(void);
55 void GXDrawDodeca(void);
56 void GXDrawOctahedron( void );
57 void GXDrawIcosahedron( void );
58 void GXDrawSphere1( u8 depth );
59 u32  GXGenNormalTable( u8 depth, f32* table );
60 
61 /*---------------------------------------------------------------------------*/
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif // __GXDRAW_H__
67