doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
idCQuat Class Reference

#include <Quat.h>

Public Member Functions

 idCQuat (void)
 
 idCQuat (float x, float y, float z)
 
void Set (float x, float y, float z)
 
float operator[] (int index) const
 
float & operator[] (int index)
 
bool Compare (const idCQuat &a) const
 
bool Compare (const idCQuat &a, const float epsilon) const
 
bool operator== (const idCQuat &a) const
 
bool operator!= (const idCQuat &a) const
 
int GetDimension (void) const
 
idAngles ToAngles (void) const
 
idRotation ToRotation (void) const
 
idMat3 ToMat3 (void) const
 
idMat4 ToMat4 (void) const
 
idQuat ToQuat (void) const
 
const float * ToFloatPtr (void) const
 
float * ToFloatPtr (void)
 
const char * ToString (int precision=2) const
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

Definition at line 306 of file Quat.h.

Constructor & Destructor Documentation

ID_INLINE idCQuat::idCQuat ( void  )

Definition at line 337 of file Quat.h.

ID_INLINE idCQuat::idCQuat ( float  x,
float  y,
float  z 
)

Definition at line 340 of file Quat.h.

Member Function Documentation

ID_INLINE bool idCQuat::Compare ( const idCQuat &  a) const

Definition at line 362 of file Quat.h.

ID_INLINE bool idCQuat::Compare ( const idCQuat &  a,
const float  epsilon 
) const

Definition at line 366 of file Quat.h.

ID_INLINE int idCQuat::GetDimension ( void  ) const

Definition at line 387 of file Quat.h.

ID_INLINE bool idCQuat::operator!= ( const idCQuat &  a) const

Definition at line 383 of file Quat.h.

ID_INLINE bool idCQuat::operator== ( const idCQuat &  a) const

Definition at line 379 of file Quat.h.

ID_INLINE float idCQuat::operator[] ( int  index) const

Definition at line 352 of file Quat.h.

ID_INLINE float & idCQuat::operator[] ( int  index)

Definition at line 357 of file Quat.h.

ID_INLINE void idCQuat::Set ( float  x,
float  y,
float  z 
)

Definition at line 346 of file Quat.h.

idAngles idCQuat::ToAngles ( void  ) const

Definition at line 214 of file Quat.cpp.

ID_INLINE const float * idCQuat::ToFloatPtr ( void  ) const

Definition at line 396 of file Quat.h.

ID_INLINE float * idCQuat::ToFloatPtr ( void  )

Definition at line 400 of file Quat.h.

idMat3 idCQuat::ToMat3 ( void  ) const

Definition at line 232 of file Quat.cpp.

idMat4 idCQuat::ToMat4 ( void  ) const

Definition at line 241 of file Quat.cpp.

ID_INLINE idQuat idCQuat::ToQuat ( void  ) const

Definition at line 391 of file Quat.h.

idRotation idCQuat::ToRotation ( void  ) const

Definition at line 223 of file Quat.cpp.

const char * idCQuat::ToString ( int  precision = 2) const

Definition at line 250 of file Quat.cpp.

Member Data Documentation

float idCQuat::x

Definition at line 308 of file Quat.h.

float idCQuat::y

Definition at line 309 of file Quat.h.

float idCQuat::z

Definition at line 310 of file Quat.h.


The documentation for this class was generated from the following files: