#include <spCollisionConfigTypes.hpp>
Public Member Functions | |
SCollisionFace () | |
SCollisionFace (scene::Mesh *InitMesh, u32 InitSurface, u32 InitIndex, const dim::triangle3df &InitTriangle) | |
~SCollisionFace () | |
bool | isBackFaceCulling (const video::EFaceTypes CollFace, const dim::vector3df &InversePoint) const |
Returns true if the specified inverse point is on the back side of this face's triangle. | |
bool | isBackFaceCulling (const video::EFaceTypes CollFace, const dim::line3df &InverseLine) const |
Returns true if the specified inverse point is on the back side of this face's triangle. | |
Public Attributes | |
scene::Mesh * | Mesh |
u32 | Surface |
Surface index. | |
u32 | Index |
Triangle index. | |
dim::triangle3df | Triangle |
Triangle face construction. |
sp::scene::SCollisionFace::SCollisionFace | ( | ) | [inline] |
sp::scene::SCollisionFace::SCollisionFace | ( | scene::Mesh * | InitMesh, | |
u32 | InitSurface, | |||
u32 | InitIndex, | |||
const dim::triangle3df & | InitTriangle | |||
) | [inline] |
sp::scene::SCollisionFace::~SCollisionFace | ( | ) | [inline] |
bool sp::scene::SCollisionFace::isBackFaceCulling | ( | const video::EFaceTypes | CollFace, | |
const dim::vector3df & | InversePoint | |||
) | const [inline] |
Returns true if the specified inverse point is on the back side of this face's triangle.
bool sp::scene::SCollisionFace::isBackFaceCulling | ( | const video::EFaceTypes | CollFace, | |
const dim::line3df & | InverseLine | |||
) | const [inline] |
Returns true if the specified inverse point is on the back side of this face's triangle.
Triangle index.
Surface index.
Triangle face construction.