line inflation

This commit is contained in:
2023-02-15 23:54:05 +00:00
parent 570169ff15
commit e3100e0221
10 changed files with 79 additions and 40 deletions

View File

@@ -84,16 +84,7 @@ void go_shape_apply(cpBody *body, cpShape *shape, struct gameobject *go)
{
cpShapeSetFriction(shape, go->f);
cpShapeSetElasticity(shape, go->e);
cpTransform T = {0};
T.a = go->flipx;
T.d = go->flipy;
cpShapeUpdate(shape, T);
if (go->flipx == -1) YughInfo("Flipped one");
// cpShapeSetFilter(shape, go->filter);
// YughLog("Set filter; %d", go->filter.mask);
}
void gameobject_apply(struct gameobject *go)