nuke GUI bindings

This commit is contained in:
2023-01-19 22:43:29 +00:00
parent 4eeb16ec48
commit 5ecab600e0
2 changed files with 16 additions and 3 deletions

View File

@@ -368,8 +368,6 @@ void phys2d_applycircle(struct phys2d_circle *circle)
float s = go->scale;
cpVect offset = { circle->offset[0] * s, circle->offset[1] * s };
YughInfo("Setting radius to %g ...", radius);
cpCircleShapeSetRadius(circle->shape.shape, radius);
cpCircleShapeSetOffset(circle->shape.shape, offset);
cpBodySetMoment(go->body, cpMomentForCircle(go->mass, 0, radius, offset));