Most of the transforms kind of work now need to hook in the new timer.

This commit is contained in:
Zed A. Shaw 2026-01-27 23:39:09 -05:00
parent 20d7612f1c
commit 7f14a39edf
6 changed files with 47 additions and 27 deletions

View file

@ -196,9 +196,9 @@ TEST_CASE("confirm transition changes work", "[animation-new]") {
TEST_CASE("playing with delta time", "[animation-new]") {
animate2::Timer timer;
timer.start();
for(int i = 0; i < 20; i++) {
timer.begin();
FAKE_RENDER();
auto [tick_count, alpha] = timer.commit();
fmt::println("tick: {}, alpha: {}", tick_count, alpha);