"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSMathLib/Src/Vector/LSMVector2.h

00001 
00016 #ifndef __LSM_VECTOR2_H__
00017 #define __LSM_VECTOR2_H__
00018 
00019 #include "../LSMMathLib.h"
00020 #include "LSMVector2Base.h"
00021 
00022 namespace lsm {
00023 
00030         class CVector2 : public CVector2Base<LSREAL, CVector2> {
00031         public :
00032                 // == Various constructors.
00033                 LSE_INLINE LSE_CALLCTOR                                                 CVector2();
00034                 LSE_INLINE LSE_CALLCTOR                                                 CVector2( LSREAL _fX, LSREAL _fY );
00035                 LSE_INLINE LSE_CALLCTOR                                                 CVector2( const CVector2 &_vOther );
00036                 LSE_INLINE LSE_CALLCTOR                                                 CVector2( LSREAL * _pfValues );
00037         
00038 
00039         private :
00040                 typedef CVector2Base<LSREAL, CVector2>                  Parent;
00041         };
00042 
00043 
00044         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00045         // DEFINITIONS
00046         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00047         // == Various constructors.
00048         LSE_INLINE LSE_CALLCTOR CVector2::CVector2() {
00049         }
00050         LSE_INLINE LSE_CALLCTOR CVector2::CVector2( LSREAL _fX, LSREAL _fY ) :
00051                 Parent( _fX, _fY ) {
00052         }
00053         LSE_INLINE LSE_CALLCTOR CVector2::CVector2( const CVector2 &_vOther ) :
00054                 Parent( _vOther ) {
00055         }
00056         LSE_INLINE LSE_CALLCTOR CVector2::CVector2( LSREAL * _pfValues ) :
00057                 Parent( _pfValues ) {
00058         }
00059 
00060 }       // namespace lsm
00061 
00062 #endif  // __LSM_VECTOR2_H__
00063 
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator