"L. Spiro Engine"
Public Member Functions | Public Attributes

lsm::CRay3Base< _tType, _tVec3Type > Class Template Reference

A 3D ray stored as 1 point and a normalized direction. More...

#include <LSMRay3Base.h>

List of all members.

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

Detailed Description

template<typename _tType, typename _tVec3Type>
class lsm::CRay3Base< _tType, _tVec3Type >

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.


Member Function Documentation

template<typename _tType, typename _tVec3Type>
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.

Parameters:
_vPos0The first position, which acts as the starting position for the created ray.
_vPos1The second position, through which the created ray points.

Member Data Documentation

template<typename _tType, typename _tVec3Type>
_tVec3Type lsm::CRay3Base< _tType, _tVec3Type >::dir

The direction of the ray.

template<typename _tType, typename _tVec3Type>
_tVec3Type lsm::CRay3Base< _tType, _tVec3Type >::p

The point of the ray.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator