"L. Spiro Engine"
|
00001 00016 #ifndef __LSM_RAY3_H__ 00017 #define __LSM_RAY3_H__ 00018 00019 #include "../LSMMathLib.h" 00020 #include "../Vector/LSMVector3.h" 00021 #include "LSMRay3Base.h" 00022 00023 namespace lsm { 00024 00031 class CRay3 : public CRay3Base<LSREAL, CVector3> { 00032 // All is public. This class has no secrets. 00033 public : 00034 // == Various constructors. 00035 LSE_INLINE LSE_CALLCTOR CRay3(); 00036 LSE_INLINE LSE_CALLCTOR CRay3( const CRay3 &_rRay ); 00037 LSE_INLINE LSE_CALLCTOR CRay3( const CVector3 &_vPos, const CVector3 &_vDir ); 00038 00039 private : 00040 typedef CRay3Base<LSREAL, CVector3> 00041 Parent; 00042 }; 00043 00044 00045 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00046 // DEFINITIONS 00047 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00048 // == Various constructors. 00049 LSE_INLINE LSE_CALLCTOR CRay3::CRay3() {} 00050 LSE_INLINE LSE_CALLCTOR CRay3::CRay3( const CRay3 &_rRay ) : 00051 Parent( _rRay ) { 00052 } 00053 LSE_INLINE LSE_CALLCTOR CRay3::CRay3( const CVector3 &_vPos, const CVector3 &_vDir ) : 00054 Parent( _vPos, _vDir ) { 00055 } 00056 00057 } // namespace lsm 00058 00059 #endif // __LSM_RAY3_H__