better title screen camera smoothing

This commit is contained in:
minjaesong
2023-06-29 22:50:44 +09:00
parent 57a9f7febc
commit 07cbcbe79b
2 changed files with 26 additions and 9 deletions

View File

@@ -316,7 +316,7 @@ final public class FastMath {
public static float interpolateHermite(float scale, float p0, float p1, float p2, float p3) {
return interpolateHermite(scale, p0, p1, p2, p3, 1f, 0f);
return interpolateHermite(scale, p0, p1, p2, p3, 0f, 0f);
}
public static float interpolateHermite(float scale, float p0, float p1, float p2, float p3, float tension, float bias) {
float mu2 = scale * scale;