Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
GetTrianglesContextMultiVertexList Class Reference

Implementation of GetTrianglesStart/Next that uses a multiple fixed lists of vertices for the triangles. These are transformed into world space when getting the triangles. More...

#include <GetTrianglesContext.h>

Public Member Functions

 GetTrianglesContextMultiVertexList (bool inIsInsideOut, const PhysicsMaterial *inMaterial)
 Constructor, to be called in GetTrianglesStart.
 
void AddPart (Mat44Arg inLocalToWorld, const Vec3 *inTriangleVertices, size_t inNumTriangleVertices)
 Add a mesh part and its transform.
 
int GetTrianglesNext (int inMaxTrianglesRequested, Float3 *outTriangleVertices, const PhysicsMaterial **outMaterials)
 

Detailed Description

Implementation of GetTrianglesStart/Next that uses a multiple fixed lists of vertices for the triangles. These are transformed into world space when getting the triangles.

Constructor & Destructor Documentation

◆ GetTrianglesContextMultiVertexList()

GetTrianglesContextMultiVertexList::GetTrianglesContextMultiVertexList ( bool inIsInsideOut,
const PhysicsMaterial * inMaterial )
inline

Constructor, to be called in GetTrianglesStart.

Member Function Documentation

◆ AddPart()

void GetTrianglesContextMultiVertexList::AddPart ( Mat44Arg inLocalToWorld,
const Vec3 * inTriangleVertices,
size_t inNumTriangleVertices )
inline

Add a mesh part and its transform.

◆ GetTrianglesNext()

int GetTrianglesContextMultiVertexList::GetTrianglesNext ( int inMaxTrianglesRequested,
Float3 * outTriangleVertices,
const PhysicsMaterial ** outMaterials )
inline

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