Can indicate that a animation is flipped, which will *-1 on the x.

This commit is contained in:
Zed A. Shaw 2025-10-27 23:54:31 -04:00
parent c4fcb41c34
commit 2ecd8528ea
7 changed files with 45 additions and 13 deletions

View file

@ -99,10 +99,13 @@ namespace components {
current = 0;
subframe = 0.0f;
}
if(flipped) {
scale_out.x *= -1;
}
}
}
namespace animation {
using namespace components;
using namespace textures;