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
f0e5da6ccc
commit
308c340cc9
@ -2425,13 +2425,13 @@ spine_attachment spine_attachment_copy(spine_attachment attachment) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
spine_bounding_box_attachment spine_attachment_cast_to_bounding_box_attachment(spine_attachment attachment) {
|
spine_bounding_box_attachment spine_attachment_cast_to_bounding_box_attachment(spine_attachment attachment) {
|
||||||
if (attachment == nullptr) return nullptr;
|
if (attachment == nullptr) return nullptr;
|
||||||
Attachment *_attachment = (Attachment *)attachment;
|
Attachment *_attachment = (Attachment *) attachment;
|
||||||
if (_attachment->getRTTI().isExactly(BoundingBoxAttachment::rtti)) {
|
if (_attachment->getRTTI().isExactly(BoundingBoxAttachment::rtti)) {
|
||||||
BoundingBoxAttachment *boundingBox = static_cast<BoundingBoxAttachment *>(_attachment);
|
BoundingBoxAttachment *boundingBox = static_cast<BoundingBoxAttachment *>(_attachment);
|
||||||
return (spine_bounding_box_attachment)boundingBox;
|
return (spine_bounding_box_attachment) boundingBox;
|
||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void spine_attachment_dispose(spine_attachment attachment) {
|
void spine_attachment_dispose(spine_attachment attachment) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user