K3dFaceWork Class Reference

#include <K3dFaceWork.h>

Inheritance diagram for K3dFaceWork:

K3dFace K3dFaceObj List of all members.

Public Member Functions

 K3dFaceWork (K3dGameData *_pGameData)
 ~K3dFaceWork ()
void CalcCentre ()
 Calculate face centre.
void CalcNormal ()
 Calculate face normal vector.

Private Attributes

 Global game data, data centered game system.

Detailed Description

Definition at line 40 of file K3dFaceWork.h.

Constructor & Destructor Documentation

K3dFaceWork::K3dFaceWork ( K3dGameData _pGameData  ) 

Definition at line 36 of file K3dFaceWork.cpp.

References m_pGameData.

K3dFaceWork::~K3dFaceWork (  ) 

Definition at line 41 of file K3dFaceWork.cpp.

Member Function Documentation

void K3dFaceWork::CalcCentre (  ) 

Calculate face centre.

Definition at line 46 of file K3dFaceWork.cpp.

References K3dFace::GetCentre(), K3dFace::GetVertexArray(), K3dVector3::GetX(), K3dVector3::GetY(), and K3dVector3::GetZ().

void K3dFaceWork::CalcNormal (  ) 

Calculate face normal vector.

Definition at line 70 of file K3dFaceWork.cpp.

References K3dFace::GetNormal(), K3dSceneData::GetVector3Work(), K3dFace::GetVertexArray(), m_pGameData, and K3dVector3Work::Normal().

Member Data Documentation

K3dGameData* K3dFaceWork::m_pGameData [private]

Global game data, data centered game system.

Definition at line 42 of file K3dFaceWork.h.

Referenced by CalcNormal(), and K3dFaceWork().

The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:31 2007 for K3dEngine by  doxygen 1.5.0