Animator now can apply transforms using the timer alpha which mostly works.
This commit is contained in:
parent
7f14a39edf
commit
785d0240da
4 changed files with 29 additions and 31 deletions
|
|
@ -180,7 +180,7 @@ TEST_CASE("confirm transition changes work", "[animation-new]") {
|
|||
start = clock.getElapsedTime();
|
||||
|
||||
anim.update();
|
||||
anim.motion(pos, scale);
|
||||
anim.motion(pos, scale, 0.8f);
|
||||
std::this_thread::sleep_for(10ms);
|
||||
fmt::println("POSITION: {},{}; SCALE: {},{}; current: {}; subframe: {}",
|
||||
pos.x, pos.y, scale.x, scale.y, anim.$sequence.current, anim.$sequence.subframe);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue