"L. Spiro Engine"
|
A 3D ray stored as 1 point and a normalized direction. More...
#include <LSMRay3Base.h>
Public Member Functions | |
LSE_INLINE LSE_CALLCTOR | CRay3Base (const CRay3Base< _tType, _tVec3Type > &_rRay) |
LSE_INLINE LSE_CALLCTOR | CRay3Base (const _tVec3Type &_vPos, const _tVec3Type &_vDir) |
LSE_INLINE LSVOID LSE_FCALL | CreateBetweenPoints (const _tVec3Type &_vPos0, const _tVec3Type &_vPos1) |
Public Attributes | |
_tVec3Type | p |
_tVec3Type | dir |
A 3D ray stored as 1 point and a normalized direction.
Class CRay3Base Description: A 3D ray stored as 1 point and a normalized direction.
LSE_INLINE LSVOID LSE_FCALL lsm::CRay3Base< _tType, _tVec3Type >::CreateBetweenPoints | ( | const _tVec3Type & | _vPos0, |
const _tVec3Type & | _vPos1 | ||
) | [inline] |
Create a ray between two points such that the ray begins at the first point and points through the second.
_vPos0 | The first position, which acts as the starting position for the created ray. |
_vPos1 | The second position, through which the created ray points. |
_tVec3Type lsm::CRay3Base< _tType, _tVec3Type >::dir |
The direction of the ray.
_tVec3Type lsm::CRay3Base< _tType, _tVec3Type >::p |
The point of the ray.