mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-06 10:46:53 +08:00
[c] 4.0 porting, remove unused vars.
This commit is contained in:
parent
f74e80ae89
commit
fd06ab2bae
@ -580,7 +580,6 @@ static int binarySearch1 (float *values, int valuesLength, float target) {
|
|||||||
void _spAnimationState_applyAttachmentTimeline(spAnimationState* self, spTimeline* timeline, spSkeleton* skeleton, float time, spMixBlend blend, int /*bool*/ attachments) {
|
void _spAnimationState_applyAttachmentTimeline(spAnimationState* self, spTimeline* timeline, spSkeleton* skeleton, float time, spMixBlend blend, int /*bool*/ attachments) {
|
||||||
spAttachmentTimeline* attachmentTimeline;
|
spAttachmentTimeline* attachmentTimeline;
|
||||||
spSlot* slot;
|
spSlot* slot;
|
||||||
int frameIndex;
|
|
||||||
float* frames;
|
float* frames;
|
||||||
|
|
||||||
attachmentTimeline = SUB_CAST(spAttachmentTimeline, timeline);
|
attachmentTimeline = SUB_CAST(spAttachmentTimeline, timeline);
|
||||||
@ -606,10 +605,6 @@ void _spAnimationState_applyRotateTimeline (spAnimationState* self, spTimeline*
|
|||||||
float *frames;
|
float *frames;
|
||||||
spBone* bone;
|
spBone* bone;
|
||||||
float r1, r2;
|
float r1, r2;
|
||||||
int frame;
|
|
||||||
float prevRotation;
|
|
||||||
float frameTime;
|
|
||||||
float percent;
|
|
||||||
float total, diff;
|
float total, diff;
|
||||||
int /*boolean*/ current, dir;
|
int /*boolean*/ current, dir;
|
||||||
UNUSED(self);
|
UNUSED(self);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user