Om
1.0.0
A universal framework for multimedia simulation
|
#include <omPhysicsConvexHull.h>
Public Member Functions | |
Triangle (UInt32 newV1, UInt32 newV2, UInt32 newV3, const Plane3f &newPlane) | |
Create a new convex hull triangle with the specified vertex indices and plane. More... | |
UInt32 | getVertexIndex (UInt32 index) const |
Return the index of the vertex at the specified index in this triangle. More... | |
const SIMDFloat4 & | getNormal () const |
Return a const reference to the normal of this convex hull triangles. More... | |
Float | getSignedDistanceTo (const SIMDFloat4 &point) const |
Return the signed distance to a point from the triangle's plane. More... | |
|
inline |
Create a new convex hull triangle with the specified vertex indices and plane.
Return the index of the vertex at the specified index in this triangle.
Valid vertex indices are 0, 1, or 2.
|
inline |
Return a const reference to the normal of this convex hull triangles.
|
inline |
Return the signed distance to a point from the triangle's plane.