Files
physx-go/pgo/physx-c/CPxSimpleFactory.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
400 B
C
Executable File

#ifndef CPxSimpleFactory_H
#define CPxSimpleFactory_H
#include "CPxPlane.h"
#include "CPxPhysics.h"
#include "CPxMaterial.h"
#include "CPxRigidStatic.h"
#ifdef __cplusplus
extern "C" {
#endif
CPxAPI CSTRUCT CPxRigidStatic CPxCreatePlane(CSTRUCT CPxPhysics sdk, CSTRUCT CPxPlane* plane, CSTRUCT CPxMaterial material);
#ifdef __cplusplus
}
#endif
#endif // !CPxSimpleFactory_H