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