1 /*---------------------------------------------------------------------------*
2   Project:  Horizon
3   File:     demo_Cube.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_CUBE_H_
17 #define DEMO_CUBE_H_
18 
19 #include "demo/Body/demo_Body.h"
20 
21 namespace demo
22 {
23     /*!
24     :private
25 
26     @brief Cube class.
27     */
28 
29     class Cube : public Body
30     {
31     public:
32         /*!
33         @brief    Constructor.
34         */
35         Cube(void);
36 
37         /*!
38         @brief    Destructor.
39         */
40         virtual ~Cube(void);
41 
42     public:
43         virtual void Initialize(void);
44         void InitializeCube(const u32 vertexAttributes,
45             const f32 halfEdgeX, const f32 halfEdgeY, const f32 halfEdgeZ);
46 
47     protected:
48         f32 m_HalfEdges[3];
49     };
50 
51 }
52 
53 #endif
54