Jolt Physics
A multi core friendly Game Physics Engine
|
Collision detection helper that collides soft body vertices vs triangles. More...
#include <CollideSoftBodyVerticesVsTriangles.h>
Public Member Functions | |
CollideSoftBodyVerticesVsTriangles (Mat44Arg inCenterOfMassTransform, Vec3Arg inScale) | |
JPH_INLINE void | StartVertex (const SoftBodyVertex &inVertex) |
JPH_INLINE void | ProcessTriangle (Vec3Arg inV0, Vec3Arg inV1, Vec3Arg inV2) |
JPH_INLINE void | FinishVertex (SoftBodyVertex &ioVertex, int inCollidingShapeIndex) const |
Public Attributes | |
Mat44 | mTransform |
Mat44 | mInvTransform |
Vec3 | mLocalPosition |
Vec3 | mV0 |
Vec3 | mV1 |
Vec3 | mV2 |
Vec3 | mClosestPoint |
float | mNormalSign |
float | mClosestDistanceSq |
uint32 | mSet |
Collision detection helper that collides soft body vertices vs triangles.
|
inline |
|
inline |
|
inline |
|
inline |
float CollideSoftBodyVerticesVsTriangles::mClosestDistanceSq |
Vec3 CollideSoftBodyVerticesVsTriangles::mClosestPoint |
Mat44 CollideSoftBodyVerticesVsTriangles::mInvTransform |
Vec3 CollideSoftBodyVerticesVsTriangles::mLocalPosition |
float CollideSoftBodyVerticesVsTriangles::mNormalSign |
uint32 CollideSoftBodyVerticesVsTriangles::mSet |
Mat44 CollideSoftBodyVerticesVsTriangles::mTransform |
Vec3 CollideSoftBodyVerticesVsTriangles::mV0 |
Vec3 CollideSoftBodyVerticesVsTriangles::mV1 |
Vec3 CollideSoftBodyVerticesVsTriangles::mV2 |