Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::physics::shapes::MeshShape::Triangle Class Reference

A class that is used to specify input triangles for a mesh shape. More...

#include <omPhysicsMeshShape.h>

Public Member Functions

 Triangle (IndexType v0, IndexType v1, IndexType v2, IndexType newMaterial)
 

Public Attributes

IndexType v [3]
 The vertex position indices of this triangle. More...
 
IndexType material
 

Detailed Description

A class that is used to specify input triangles for a mesh shape.

Constructor & Destructor Documentation

om::physics::shapes::MeshShape::Triangle::Triangle ( IndexType  v0,
IndexType  v1,
IndexType  v2,
IndexType  newMaterial 
)
inline

Member Data Documentation

IndexType om::physics::shapes::MeshShape::Triangle::v[3]

The vertex position indices of this triangle.

IndexType om::physics::shapes::MeshShape::Triangle::material

The documentation for this class was generated from the following file: