[c] Fixes formatting for SkeletonJson.c

This commit is contained in:
Luke Ingram 2025-09-24 11:27:56 -04:00
parent fbb33e594e
commit e90eefc2c4
3 changed files with 4 additions and 4 deletions

View File

@ -293,7 +293,7 @@ void spIkConstraint_apply2(spBone *parent, spBone *child, float targetX, float t
}
}
}
break_outer : {
break_outer: {
float os = ATAN2(cy, cx) * s2;
float rotation = parent->arotation;
a1 = (a1 - os) * RAD_DEG + o1 - rotation;

View File

@ -408,7 +408,7 @@ static const char *parse_object(Json *item, const char *value) {
if (*value != ':') {
ep = value;
return 0;
} /* fail! */
} /* fail! */
value = skip(parse_value(child, skip(value + 1))); /* skip any spacing, get the value. */
if (!value) return 0;
item->size = 1;
@ -428,7 +428,7 @@ static const char *parse_object(Json *item, const char *value) {
if (*value != ':') {
ep = value;
return 0;
} /* fail! */
} /* fail! */
value = skip(parse_value(child, skip(value + 1))); /* skip any spacing, get the value. */
if (!value) return 0;
item->size++;

View File

@ -434,7 +434,7 @@ static spAnimation *_spSkeletonJson_readAnimation(spSkeletonJson *self, Json *ro
for (frame = 0, bezier = 0;; ++frame) {
float time2;
spRGB2Timeline_setFrame(timeline, frame, time, color.r, color.g, color.b, color2.r, color2.g,
spRGB2Timeline_setFrame(timeline, frame, time, color.r, color.g, color.b, color2.r, color2.g,
color2.b);
nextMap = keyMap->next;
if (!nextMap) {