1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     demo_Cylinder.h
4 
5   Copyright (C)2009-2012 Nintendo Co., Ltd.  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   $Rev: 46365 $
14  *---------------------------------------------------------------------------*/
15 
16 #ifndef DEMO_CYLINDER_H_
17 #define DEMO_CYLINDER_H_
18 
19 #include "demo/Body/demo_Body.h"
20 
21 namespace demo
22 {
23     /*!
24     :private
25 
26     @brief Cylinder class.
27     */
28 
29     class Cylinder : public Body
30     {
31     public:
32         /*!
33         @brief    Constructor.
34         */
35         Cylinder(void);
36 
37         /*!
38         @brief    Destructor.
39         */
40         virtual ~Cylinder(void);
41 
42     public:
43         virtual void Initialize(void);
44         void InitializeCylinder(const u32 vertexAttributes,
45             const f32 radius, const f32 height, const u32 division);
46 
47     protected:
48         f32 m_Radius;
49         f32 m_Height;
50         u32 m_Division;
51     };
52 
53 }
54 
55 #endif
56