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

#include <DrawVert.h>

Public Member Functions

float operator[] (const int index) const
 
floatoperator[] (const int index)
 
void Clear (void)
 
void Lerp (const idDrawVert &a, const idDrawVert &b, const float f)
 
void LerpAll (const idDrawVert &a, const idDrawVert &b, const float f)
 
void Normalize (void)
 
void SetColor (dword color)
 
dword GetColor (void) const
 

Public Attributes

idVec3 xyz
 
idVec2 st
 
idVec3 normal
 
idVec3 tangents [2]
 
byte color [4]
 

Detailed Description

Definition at line 40 of file DrawVert.h.

Member Function Documentation

ID_INLINE void idDrawVert::Clear ( void  )

Definition at line 73 of file DrawVert.h.

ID_INLINE dword idDrawVert::GetColor ( void  ) const

Definition at line 103 of file DrawVert.h.

ID_INLINE void idDrawVert::Lerp ( const idDrawVert a,
const idDrawVert b,
const float  f 
)

Definition at line 82 of file DrawVert.h.

ID_INLINE void idDrawVert::LerpAll ( const idDrawVert a,
const idDrawVert b,
const float  f 
)

Definition at line 87 of file DrawVert.h.

void idDrawVert::Normalize ( void  )

Definition at line 38 of file DrawVert.cpp.

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

Definition at line 64 of file DrawVert.h.

ID_INLINE float & idDrawVert::operator[] ( const int  index)

Definition at line 68 of file DrawVert.h.

ID_INLINE void idDrawVert::SetColor ( dword  color)

Definition at line 99 of file DrawVert.h.

Member Data Documentation

byte idDrawVert::color[4]

Definition at line 46 of file DrawVert.h.

idVec3 idDrawVert::normal

Definition at line 44 of file DrawVert.h.

idVec2 idDrawVert::st

Definition at line 43 of file DrawVert.h.

idVec3 idDrawVert::tangents[2]

Definition at line 45 of file DrawVert.h.

idVec3 idDrawVert::xyz

Definition at line 42 of file DrawVert.h.


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