mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Formatting.
This commit is contained in:
parent
e01ba364df
commit
316c114855
@ -595,10 +595,10 @@ _spAnimationState_setAttachment(spAnimationState *self, spSkeleton *skeleton, sp
|
||||
|
||||
/* @param target After the first and before the last entry. */
|
||||
static int binarySearch1(float *values, int valuesLength, float target) {
|
||||
for (int i = 1; i < valuesLength; i++) {
|
||||
if (values[i] > target) return (int) (i - 1);
|
||||
}
|
||||
return (int) valuesLength - 1;
|
||||
for (int i = 1; i < valuesLength; i++) {
|
||||
if (values[i] > target) return (int) (i - 1);
|
||||
}
|
||||
return (int) valuesLength - 1;
|
||||
}
|
||||
|
||||
void _spAnimationState_applyAttachmentTimeline(spAnimationState *self, spTimeline *timeline, spSkeleton *skeleton,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user