#include <K3dDrawSphere.h>
Inheritance diagram for K3dDrawSphere:
Public Member Functions | |
K3dDrawSphere (K3dGameData *_pGameData) | |
~K3dDrawSphere () | |
void | DrawSpheres () |
Draw spheres. | |
Private Attributes | |
K3dGameData * | m_pGameData |
Global game data, data centered game system. | |
GLUquadricObj * | m_pQuadricObj |
Quadric object for rendering spheres. | |
K3dMatrix | m_kViewMatrix |
View matrix. | |
K3dMatrix | m_kModelMatrix |
Model matrix. |
Definition at line 38 of file K3dDrawSphere.h.
K3dDrawSphere::K3dDrawSphere | ( | K3dGameData * | _pGameData | ) | [inline] |
K3dDrawSphere::~K3dDrawSphere | ( | ) | [inline] |
Definition at line 52 of file K3dDrawSphere.h.
void K3dDrawSphere::DrawSpheres | ( | ) |
Draw spheres.
Definition at line 36 of file K3dDrawSphere.cpp.
References K3dSafePointer< _T >::Get(), K3dMatrix::GetMatrix(), K3dSafePointer< _T >::GetNum(), K3dGameData::GetSphereObjSP(), K3dSceneData::GetViewMatrix(), m_kModelMatrix, m_kViewMatrix, m_pGameData, m_pQuadricObj, and K3dMatrix::Multiply().
Referenced by K3dMngGeometry::DrawMngGeometry().
K3dGameData* K3dDrawSphere::m_pGameData [private] |
Global game data, data centered game system.
Reimplemented in K3dDraw, K3dScene, K3dMngGeometry, and K3dMngSystem.
Definition at line 40 of file K3dDrawSphere.h.
Referenced by DrawSpheres(), and K3dDrawSphere().
GLUquadricObj* K3dDrawSphere::m_pQuadricObj [private] |
Quadric object for rendering spheres.
Definition at line 41 of file K3dDrawSphere.h.
Referenced by DrawSpheres(), and K3dDrawSphere().
K3dMatrix K3dDrawSphere::m_kViewMatrix [private] |
K3dMatrix K3dDrawSphere::m_kModelMatrix [private] |