Implement double jumping and RoA style wavedash

This commit is contained in:
2026-08-27 16:36:36 +02:00
parent de73451615
commit 6a2801add0
10 changed files with 169 additions and 47 deletions
-1
View File
@@ -128,7 +128,6 @@ impl FGSegment2d {
if denom == FGWide::ZERO {
return None; // Parallel or collinear
}
info!("{p0}, {p1}, {p2}, {p3}");
let s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / denom;
let t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / denom;