CrossFramework Library

XBase/Degree.hpp

説明を見る。
00001 
00006 #if defined(XBASE_INCLUDED_DEGREE_HPP)
00007 #else
00008 #define XBASE_INCLUDED_DEGREE_HPP
00009 
00010 //------------------------------------------------------------
00011 #include <XBase/BuiltInTypes.hpp>
00012 
00013 //------------------------------------------------------------
00014 namespace XBase {
00015     class  Angle;
00016     struct RadianPOD;
00017 }
00018 
00019 //------------------------------------------------------------
00020 namespace XBase {
00022 
00023 
00024     struct DegreePOD
00025     {
00026         f32 value; 
00027 
00029 
00030         const Angle     toAngle()const;  
00031         const RadianPOD toRadian()const; 
00032 
00033     };
00034 
00036     class Degree : public DegreePOD
00037     {
00038     public:
00040 
00041         Degree(); 
00042         Degree( float aDegree ); 
00043         Degree( const DegreePOD& aVal ); 
00044 
00045     };
00047 }
00048 //------------------------------------------------------------
00049 #endif
00050 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義