mirror of
https://github.com/bloeys/physx-go.git
synced 2025-12-29 16:08: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
400 B
C
Executable File
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
|