| 350 | } |
| 351 | |
| 352 | bool Spine::update(double deltaTime) { |
| 353 | if (isUpdating()) { |
| 354 | _animationState->update(s_cast<float>(deltaTime)); |
| 355 | _animationState->apply(*_skeleton); |
| 356 | _skeleton->updateWorldTransform(spine::Physics_Update); |
| 357 | if (_bounds && isHitTestEnabled()) { |
| 358 | _bounds->update(*_skeleton, true); |
| 359 | } |
| 360 | } |
| 361 | return Node::update(deltaTime); |
| 362 | } |
| 363 | |
| 364 | void Spine::render() { |
| 365 | Matrix transform; |
nothing calls this directly
no test coverage detected