Files
physx-go/pgo/physx-c/CExtSimpleFactory.h
bloeys a01e4b6bbd Switch to mostly returning objects instead of pointers since
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
2022-12-19 00:43:04 +04:00

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