[cpp] Formatting

This commit is contained in:
Mario Zechner 2025-04-08 13:52:01 +02:00
parent 88a26374fe
commit b491d8ba4d
2 changed files with 3 additions and 3 deletions

View File

@ -208,11 +208,11 @@ void spDebug_printTimeline(spTimeline *timeline) {
case SP_TIMELINE_SEQUENCE: {
spSequenceTimeline *t = (spSequenceTimeline *) timeline;
_spDebug_printTimelineBase(&t->super);
} // fallthrough
}// fallthrough
case SP_TIMELINE_INHERIT: {
spInheritTimeline *t = (spInheritTimeline *) timeline;
_spDebug_printTimelineBase(&t->super);
} // fallthrough
}// fallthrough
default: {
_spDebug_printTimelineBase(timeline);
}

View File

@ -98,7 +98,7 @@ void spIkConstraint_apply1(spBone *bone, float targetX, float targetY, int /*boo
pb = -sc * s * bone->skeleton->scaleX;
pd = sa * s * bone->skeleton->scaleY;
rotationIK += ATAN2(sc, sa) * RAD_DEG;
} // fallthrough
}// fallthrough
default: {
float x = targetX - p->worldX, y = targetY - p->worldY;
float d = pa * pd - pb * pc;