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:
parent
113a4a3b3e
commit
d3158291f7
29 changed files with 119 additions and 1218 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue