![]() |
Kochol Game Engine
0.1.0
|
#include <DynamicTriangleMesh.h>
Public Member Functions | |
DynamicTriangleMesh () | |
Constructor. | |
~DynamicTriangleMesh () | |
Destructor. | |
void | Init (sn::TileTerrain *pTerrain) |
Init the class with a tile terrain class. | |
int | IntersectRay (math::Ray *pRay) |
Checks the ray intersection with triangle mesh and returns the face ID. | |
int | IntersectRay (math::Ray *pRay, int &OutClosestPointIndex) |
Checks the ray intersection with triangle mesh and returns the face ID and Closest point index. | |
int | IntersectRayClosestFace (math::Ray *pRay, int &OutClosestPointIndex, math::Vector &vp) |
Checks the ray intersection with triangle mesh and returns the nearest face ID and Closest point index. | |
![]() | |
KgeUnknown () | |
Constructor. | |
virtual | ~KgeUnknown () |
Destructor. | |
virtual void | AddRef () |
Add a reference to the object. | |
virtual void | DecRef () |
Decrease a reference from the object. if its reference count get 0 then the object will destroy. | |
u32 | GetRefCount () |
Return resource reference count. | |
const char * | GetDebugText () |
returns the instance debug text. |
Protected Attributes | |
math::Triangle * | m_pTris |
int | m_iTriCount |
int | m_iAabbCount |
int | m_iUTriCopunt |
int | m_iVTriCount |
math::AABB * | m_pAABB |
Additional Inherited Members | |
![]() | |
void | SetDebugText (char *text) |
Definition at line 21 of file DynamicTriangleMesh.h.
kge::ph::DynamicTriangleMesh::DynamicTriangleMesh | ( | ) |
Constructor.
kge::ph::DynamicTriangleMesh::~DynamicTriangleMesh | ( | ) |
Destructor.
void kge::ph::DynamicTriangleMesh::Init | ( | sn::TileTerrain * | pTerrain | ) |
Init the class with a tile terrain class.
int kge::ph::DynamicTriangleMesh::IntersectRay | ( | math::Ray * | pRay | ) |
Checks the ray intersection with triangle mesh and returns the face ID.
int kge::ph::DynamicTriangleMesh::IntersectRay | ( | math::Ray * | pRay, |
int & | OutClosestPointIndex | ||
) |
Checks the ray intersection with triangle mesh and returns the face ID and Closest point index.
int kge::ph::DynamicTriangleMesh::IntersectRayClosestFace | ( | math::Ray * | pRay, |
int & | OutClosestPointIndex, | ||
math::Vector & | vp | ||
) |
Checks the ray intersection with triangle mesh and returns the nearest face ID and Closest point index.
|
protected |
Definition at line 47 of file DynamicTriangleMesh.h.
|
protected |
Definition at line 47 of file DynamicTriangleMesh.h.
|
protected |
Definition at line 47 of file DynamicTriangleMesh.h.
|
protected |
Definition at line 47 of file DynamicTriangleMesh.h.
|
protected |
Definition at line 52 of file DynamicTriangleMesh.h.
|
protected |
Definition at line 45 of file DynamicTriangleMesh.h.