read the damn headers, shitlid

This commit is contained in:
George Paton 2024-12-17 16:03:07 +08:00
parent 78d61348bf
commit 700e02223f

View File

@ -591,11 +591,11 @@ public class BusAnimationKeyframe {
}
double BLI_easing_sine_ease_in(double time, double begin, double change, double duration) {
return -change * Math.cos(time / duration * (double) Math.PI * 2) + change + begin;
return -change * Math.cos(time / duration * (double) Math.PI / 2) + change + begin;
}
double BLI_easing_sine_ease_out(double time, double begin, double change, double duration) {
return change * Math.sin(time / duration * (double) Math.PI * 2) + begin;
return change * Math.sin(time / duration * (double) Math.PI / 2) + begin;
}
double BLI_easing_sine_ease_in_out(double time, double begin, double change, double duration) {