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
20 lines
501 B
C
Executable File
20 lines
501 B
C
Executable File
#ifndef CExtSimpleFactory_H
|
|
#define CExtSimpleFactory_H
|
|
|
|
#include "CPxPhysics.h"
|
|
#include "CPxGeometry.h"
|
|
#include "CPxTransform.h"
|
|
#include "CPxRigidDynamic.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
CPxAPI CSTRUCT CPxRigidDynamic CPxCreateDynamic(CSTRUCT CPxPhysics sdk, CSTRUCT CPxTransform* transform, CSTRUCT CPxGeometry geometry, CSTRUCT CPxMaterial material, CPxReal density, CSTRUCT CPxTransform* shapeOffset);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // !CExtSimpleFactory_H
|