mirror of
https://github.com/bloeys/physx-go.git
synced 2025-12-29 07:58:20 +00:00
almost all objects contain only one pointer inside, making them very small, so no point paying (de)allocation costs. This has also been done to physx-c
23 lines
396 B
C
Executable File
23 lines
396 B
C
Executable File
#ifndef CPxRigidActor_H
|
|
#define CPxRigidActor_H
|
|
|
|
#include "CPxFilterData.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct CPxRigidActor
|
|
{
|
|
void* obj;
|
|
};
|
|
|
|
//Sets the CPxFilterData on all the shapes of the actor.
|
|
CPxAPI void CPxRigidActor_setSimFilterData(CSTRUCT CPxRigidActor cra, CSTRUCT CPxFilterData cfd);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // !CPxRigidActor_H
|