This commit is contained in:
numzero 2024-05-07 15:31:24 +03:00
parent 485a25c029
commit 0ac464c834

View File

@ -322,7 +322,7 @@ impl boundary::Boundary for Outside {
if dist <= limit { if dist <= limit {
let pt = base + dist * dir; let pt = base + dist * dir;
return match side { return match side {
1 | 5 => Some((boundary::Id(2), vec2(pt.x, self.space.u(pt.y)), vec2(dir.x, self.space.du(pt.x, dir.y)))), 1 | 5 => Some((boundary::Id(2), vec2(pt.x, self.space.u(pt.y)), vec2(dir.x, self.space.du(pt.y, dir.y)))),
_ => Some((boundary::Id(1), pt, dir)), _ => Some((boundary::Id(1), pt, dir)),
}; };
} }