Camera is now using animate2 but isn't actually using it yet. Just converted.

This commit is contained in:
Zed A. Shaw 2026-02-17 00:55:41 -05:00
parent 7bf7b25a10
commit 46cc21ec7b
8 changed files with 111 additions and 90 deletions

View file

@ -206,6 +206,10 @@ namespace animate2 {
transform.motion_func = ease2::get_motion(transform.motion);
}
void Animate2::apply(sf::View& view_out, sf::Vector2f pos, sf::Vector2f size) {
}
Animate2 load(const std::string &file, const std::string &anim_name) {
using nlohmann::json;
std::ifstream infile(file);