"L. Spiro Engine"
|
A standard 2D vector of type LSREAL. More...
#include <LSMVector3.h>
Public Member Functions | |
LSE_INLINE LSE_CALLCTOR | CVector3 (LSREAL _fX, LSREAL _fY, LSREAL _fZ) |
LSE_INLINE LSE_CALLCTOR | CVector3 (const CVector3 &_vOther) |
LSE_INLINE LSE_CALLCTOR | CVector3 (LSREAL *_pfValues) |
LSE_INLINE LSREAL LSE_FCALL | Len () const |
LSE_INLINE LSVOID LSE_FCALL | Normalize () |
Static Public Member Functions | |
static LSE_INLINE const CVector3 &LSE_CALL | ForwardVector () |
static LSE_INLINE const CVector3 &LSE_CALL | UpVector () |
static LSE_INLINE const CVector3 &LSE_CALL | RightVector () |
static LSE_INLINE const CVector3 &LSE_CALL | ZeroVector () |
Static Protected Attributes | |
static CVector3 | m_vUp |
static CVector3 | m_vRight |
static CVector3 | m_vForward |
static CVector3 | m_vZero |
A standard 2D vector of type LSREAL.
Class CVector3 Description: A standard 2D vector of type LSREAL.
LSE_INLINE const CVector3 &LSE_CALL lsm::CVector3::ForwardVector | ( | ) | [static] |
Get the global forward vector.
LSE_INLINE LSREAL LSE_FCALL lsm::CVector3::Len | ( | ) | const |
Calculates the length of the vector.
Reimplemented from lsm::CVector3Base< LSREAL, CVector3 >.
LSE_INLINE LSVOID LSE_FCALL lsm::CVector3::Normalize | ( | ) |
Normalizes this vector. Normalization is the process of adjusting the length of the vector so that it is unit length (1 unit in length) while maintaining its direction. Accuracy/speed depends on the LSM_PERFORMANCE macro.
Reimplemented from lsm::CVector3Base< LSREAL, CVector3 >.
LSE_INLINE const CVector3 &LSE_CALL lsm::CVector3::RightVector | ( | ) | [static] |
Get the global right vector.
LSE_INLINE const CVector3 &LSE_CALL lsm::CVector3::UpVector | ( | ) | [static] |
Get the global up vector.
LSE_INLINE const CVector3 &LSE_CALL lsm::CVector3::ZeroVector | ( | ) | [static] |
Get the global zero vector.
CVector3 lsm::CVector3::m_vForward [static, protected] |
Global forward vector.
CVector3 lsm::CVector3::m_vRight [static, protected] |
Global right vector.
CVector3 lsm::CVector3::m_vUp [static, protected] |
Global up vector.
CVector3 lsm::CVector3::m_vZero [static, protected] |
Zero vector.