This commit is contained in:
2023-01-27 18:06:16 +00:00
parent 68850b558a
commit 38da3627e7
4 changed files with 65 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
#include <string.h>
#include "mathc.h"
#include "nuke.h"
#include "debug.h"
#include "debugdraw.h"
#include "gameobject.h"
@@ -12,6 +13,8 @@
#include "stb_ds.h"
#include <assert.h>
#include "tinyspline.h"
#include "script.h"
#include "log.h"
@@ -106,6 +109,9 @@ void init_phys2dshape(struct phys2d_shape *shape, int go, void *data)
cpShapeSetCollisionType(shape->shape, go);
cpShapeSetUserData(shape->shape, shape);
phys2d_shape_apply(shape);
}
void phys2d_shape_del(struct phys2d_shape *shape)