mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
#include "to_scale_x.h"
|
|
#include <spine/spine.h>
|
|
|
|
using namespace spine;
|
|
|
|
spine_to_scale_x spine_to_scale_x_create(void) {
|
|
return (spine_to_scale_x) new (__FILE__, __LINE__) ToScaleX();
|
|
}
|
|
|
|
void spine_to_scale_x_dispose(spine_to_scale_x self) {
|
|
delete (ToScaleX *) self;
|
|
}
|
|
|
|
spine_rtti spine_to_scale_x_get_rtti(spine_to_scale_x self) {
|
|
ToScaleX *_self = (ToScaleX *) self;
|
|
return (spine_rtti) &_self->getRTTI();
|
|
}
|
|
|
|
float spine_to_scale_x_mix(spine_to_scale_x self, spine_transform_constraint_pose pose) {
|
|
ToScaleX *_self = (ToScaleX *) self;
|
|
return _self->mix(*((TransformConstraintPose *) pose));
|
|
}
|
|
|
|
void spine_to_scale_x_apply(spine_to_scale_x self, spine_skeleton skeleton, spine_transform_constraint_pose pose, spine_bone_pose bone, float value,
|
|
bool local, bool additive) {
|
|
ToScaleX *_self = (ToScaleX *) self;
|
|
_self->apply(*((Skeleton *) skeleton), *((TransformConstraintPose *) pose), *((BonePose *) bone), value, local, additive);
|
|
}
|
|
|
|
spine_rtti spine_to_scale_x_rtti(void) {
|
|
return (spine_rtti) &ToScaleX::rtti;
|
|
}
|