#include <omPhysicsCollisionEPASolver.h>
om::physics::collision::EPASolver::EPATriangle::EPATriangle |
( |
UInt32 |
newV1, |
|
|
UInt32 |
newV2, |
|
|
UInt32 |
newV3, |
|
|
Float |
newDistance, |
|
|
const SIMDFloat4 & |
newNormal |
|
) |
| |
|
inline |
Create a new EPA triangle from the specified vertex indices and plane.
Bool om::physics::collision::EPASolver::EPATriangle::operator< |
( |
const EPATriangle & |
triangle | ) |
const |
|
inline |
Float om::physics::collision::EPASolver::EPATriangle::getSignedDistanceTo |
( |
const SIMDFloat4 & |
point | ) |
const |
|
inline |
Return the signed distance from the triangle's plane to a point in minkowski difference space.
SIMDFloat4 om::physics::collision::EPASolver::EPATriangle::normal |
The plane normal of this EPA triangle in minkowski difference space.
By convention, the normal points toward the interior of the convex hull.
Float om::physics::collision::EPASolver::EPATriangle::distance |
The distance of this triangle's plane from the origin.
UInt32 om::physics::collision::EPASolver::EPATriangle::v1 |
The index of the first vertex of this EPA triangle.
UInt32 om::physics::collision::EPASolver::EPATriangle::v2 |
The index of the second vertex of this EPA triangle.
UInt32 om::physics::collision::EPASolver::EPATriangle::v3 |
The index of the third vertex of this EPA triangle.
The documentation for this class was generated from the following file: