Fix!
This commit is contained in:
parent
485a25c029
commit
0ac464c834
|
|
@ -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)),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user