mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
27 lines
389 B
C++
27 lines
389 B
C++
#ifndef SPINE_BONEDATA_H_
|
|
#define SPINE_BONEDATA_H_
|
|
|
|
#include <string>
|
|
|
|
namespace spine {
|
|
|
|
class BoneData {
|
|
public:
|
|
std::string name;
|
|
BoneData* parent;
|
|
float length;
|
|
float x, y;
|
|
float rotation;
|
|
float scaleX, scaleY;
|
|
|
|
BoneData (const std::string &name) :
|
|
name(name),
|
|
parent(0),
|
|
scaleX(1),
|
|
scaleY(1) {
|
|
}
|
|
};
|
|
|
|
} /* namespace spine */
|
|
#endif /* SPINE_BONEDATA_H_ */
|