mirror of
https://github.com/bloeys/physx-go.git
synced 2025-12-29 07:58:20 +00:00
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
This commit is contained in:
@ -17,14 +17,7 @@ extern "C" {
|
||||
void* obj;
|
||||
};
|
||||
|
||||
CPxAPI void CPxPvdSceneClient_setScenePvdFlag(CSTRUCT CPxPvdSceneClient* c, CENUM CPxPvdSceneFlag flag, bool value);
|
||||
|
||||
/// <summary>
|
||||
/// This only releases the C struct
|
||||
/// </summary>
|
||||
/// <param name=""></param>
|
||||
/// <returns></returns>
|
||||
CPxAPI void CPxPvdSceneClient_release(CSTRUCT CPxPvdSceneClient*);
|
||||
CPxAPI void CPxPvdSceneClient_setScenePvdFlag(CSTRUCT CPxPvdSceneClient c, CENUM CPxPvdSceneFlag flag, bool value);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user