MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / SATAlgorithm

Method SATAlgorithm

src/collision/narrowphase/SAT/SATAlgorithm.cpp:47–55  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

45
46// Constructor
47SATAlgorithm::SATAlgorithm(bool clipWithPreviousAxisIfStillColliding, MemoryAllocator& memoryAllocator)
48 : mClipWithPreviousAxisIfStillColliding(clipWithPreviousAxisIfStillColliding), mMemoryAllocator(memoryAllocator) {
49
50#ifdef IS_RP3D_PROFILING_ENABLED
51
52 mProfiler = nullptr;
53#endif
54
55}
56
57// Test collision between a sphere and a convex mesh
58bool SATAlgorithm::testCollisionSphereVsConvexPolyhedron(NarrowPhaseInfoBatch& narrowPhaseInfoBatch, uint32 batchStartIndex, uint32 batchNbItems) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected