- Add BoneLocal class for local bone pose (x, y, rotation, scale, shear, inherit)
- Add BonePose class extending BoneLocal with world transform calculations
- Add SlotPose class for slot state (color, darkColor, attachment, sequence, deform)
- Implement complete world transform math in BonePose from reference implementation
- Use Spine's custom RTTI system instead of C++ RTTI for type checking
- Update spine.h to include new core pose classes
- Update development guidelines with RTTI usage patterns
These core pose classes provide the foundation for the new constraint system
and enable separation of local, constrained, and applied poses in the 4.3-beta
architecture redesign.
- Replace Updatable interface with Update interface
- Add Pose<P> template interface for pose management
- Add PosedData<P> abstract base class for setup data
- Add Posed<D,P,A> base class linking data, pose, and applied states
- Add PosedActive<D,P,A> extending Posed with active state management
- Update spine.h to include new pose system headers
This implements the foundational pose architecture required for the 4.3-beta
constraint system overhaul. The new pose-based system provides better separation
of concerns and enables more flexible constraint management.
* [c][cpp] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. #2786
* [c][cpp] Format.
---------
Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
* [c][cpp] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. #2786
* [c][cpp] Format.
---------
Co-authored-by: Davide Tantillo <iamdjj@gmail.com>