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
idVec5 Class Reference

#include <Vector.h>

Public Member Functions

 idVec5 (void)
 
 idVec5 (const idVec3 &xyz, const idVec2 &st)
 
 idVec5 (const float x, const float y, const float z, const float s, const float t)
 
float operator[] (int index) const
 
floatoperator[] (int index)
 
idVec5operator= (const idVec3 &a)
 
int GetDimension (void) const
 
const idVec3ToVec3 (void) const
 
idVec3ToVec3 (void)
 
const floatToFloatPtr (void) const
 
floatToFloatPtr (void)
 
const char * ToString (int precision=2) const
 
void Lerp (const idVec5 &v1, const idVec5 &v2, const float l)
 

Public Attributes

float x
 
float y
 
float z
 
float s
 
float t
 

Detailed Description

Definition at line 1066 of file Vector.h.

Constructor & Destructor Documentation

ID_INLINE idVec5::idVec5 ( void  )

Definition at line 1096 of file Vector.h.

ID_INLINE idVec5::idVec5 ( const idVec3 xyz,
const idVec2 st 
)
explicit

Definition at line 1099 of file Vector.h.

ID_INLINE idVec5::idVec5 ( const float  x,
const float  y,
const float  z,
const float  s,
const float  t 
)
explicit

Definition at line 1107 of file Vector.h.

Member Function Documentation

ID_INLINE int idVec5::GetDimension ( void  ) const

Definition at line 1131 of file Vector.h.

void idVec5::Lerp ( const idVec5 v1,
const idVec5 v2,
const float  l 
)

Definition at line 349 of file Vector.cpp.

ID_INLINE idVec5 & idVec5::operator= ( const idVec3 a)

Definition at line 1123 of file Vector.h.

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

Definition at line 1115 of file Vector.h.

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

Definition at line 1119 of file Vector.h.

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

Definition at line 1143 of file Vector.h.

ID_INLINE float * idVec5::ToFloatPtr ( void  )

Definition at line 1147 of file Vector.h.

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

Definition at line 340 of file Vector.cpp.

ID_INLINE const idVec3 & idVec5::ToVec3 ( void  ) const

Definition at line 1135 of file Vector.h.

ID_INLINE idVec3 & idVec5::ToVec3 ( void  )

Definition at line 1139 of file Vector.h.

Member Data Documentation

float idVec5::s

Definition at line 1071 of file Vector.h.

float idVec5::t

Definition at line 1072 of file Vector.h.

float idVec5::x

Definition at line 1068 of file Vector.h.

float idVec5::y

Definition at line 1069 of file Vector.h.

float idVec5::z

Definition at line 1070 of file Vector.h.


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