Public Member Functions | Public Attributes

sp::scene::SCollisionFace Struct Reference

#include <spCollisionConfigTypes.hpp>

List of all members.

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::MeshMesh
u32 Surface
 Surface index.
u32 Index
 Triangle index.
dim::triangle3df Triangle
 Triangle face construction.

Constructor & Destructor Documentation

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]

Member Function Documentation

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.


Member Data Documentation

Triangle index.

Surface index.

Triangle face construction.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines