Did a full code coverage review and improved many of the tests and a bunch of code. I'll do one more final walk through all the code before getting back to work on the new combat system.

This commit is contained in:
Zed A. Shaw 2025-03-17 15:23:47 -04:00
parent 113a4a3b3e
commit d3158291f7
29 changed files with 119 additions and 1218 deletions

View file

@ -4,7 +4,7 @@
namespace ease {
enum Style {
NONE, SINE, OUT_CIRC, OUT_BOUNCE, IN_OUT_BACK
NONE, SINE, OUT_CIRC, OUT_BOUNCE, IN_OUT_BACK, FUCKFACE
};
inline double sine(double x) {
@ -12,7 +12,7 @@ namespace ease {
}
inline double out_circ(double x) {
return std::sqrt(1.0f - std::pow(x - 1.0f, 2.0f));
return std::sqrt(1.0f - ((x - 1.0f) * (x - 1.0f)));
}
inline double out_bounce(double x) {