Open luigi-rosso opened 2 years ago
Update StateInstance::advance to take the StateMachineInstance as an arguments instead of SMIInput** and use StateMachineInstance::input to get a range checked input.
https://github.com/rive-app/rive-cpp/blob/c43ce90e81c0a3608c5186f8c572cf480d1935bc/include/rive/animation/state_instance.hpp#L20
Update StateInstance::advance to take the StateMachineInstance as an arguments instead of SMIInput** and use StateMachineInstance::input to get a range checked input.
https://github.com/rive-app/rive-cpp/blob/c43ce90e81c0a3608c5186f8c572cf480d1935bc/include/rive/animation/state_instance.hpp#L20