fix glitches at extended walls when rendering full levels
This commit is contained in:
parent
92575a3e9a
commit
854c47bc45
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ class LevelGeometries:
|
||||||
upper=vertex_wall_heights)
|
upper=vertex_wall_heights)
|
||||||
|
|
||||||
if interpolator is not None:
|
if interpolator is not None:
|
||||||
upper = interpolator(*np.transpose(self.vertices)).astype(np.int32)
|
upper = interpolator(*np.transpose(self.vertices)).astype(np.int32) - int(0.7 * 1000)
|
||||||
self.walls_extended.build_polyhedron(self._create_polyhedron,
|
self.walls_extended.build_polyhedron(self._create_polyhedron,
|
||||||
lower=vertex_wall_heights,
|
lower=vertex_wall_heights,
|
||||||
upper=upper,
|
upper=upper,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue