- API to query compounds directly. - Fix some uninitialized stuff (thanks MSAN). - Fix for store impulses on overflow. - AABB margin reduced for small shapes - body contact recycling option - angular threshold for contact recycling - reduce AABB margin on smaller shapes - fix for hull vs tri when axis aligned - fully locked rotation uses zero inverse inertia
15 lines
562 B
C
15 lines
562 B
C
// SPDX-FileCopyrightText: 2026 Erin Catto
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
typedef void b3TaskCallback( void* taskContext );
|
|
typedef struct b3Scheduler b3Scheduler;
|
|
|
|
b3Scheduler* b3CreateScheduler( int workerCount );
|
|
void b3DestroyScheduler( b3Scheduler* scheduler );
|
|
void b3ResetScheduler( b3Scheduler* scheduler );
|
|
|
|
// See b3EnqueueTaskCallback and b3FinishTaskCallback
|
|
void* b3SchedulerEnqueueTask( b3TaskCallback* task, void* taskContext, void* userContext, const char* name );
|
|
void b3SchedulerFinishTask( void* userTask, void* userContext );
|