mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
always use shWall3D for shPlainWall3D
This commit is contained in:
parent
8fabe30bf5
commit
c2fbc424e2
@ -2369,11 +2369,7 @@ void make_wall(int id, vector<hyperpoint> vertices, bool force_triangles = false
|
||||
}
|
||||
|
||||
bshape(shWireframe3D[id], PPR::WALL);
|
||||
if(!binarytiling) {
|
||||
for(auto v: vertices) hpcpush(v);
|
||||
hpcpush(vertices[0]);
|
||||
}
|
||||
else {
|
||||
if(true) {
|
||||
for(int a=0; a<n; a++) for(int y=0; y<STEP; y++)
|
||||
at((vertices[a] * (STEP-y) + vertices[(a+1)%n] * y)/STEP);
|
||||
at(vertices[0]);
|
||||
@ -2381,7 +2377,7 @@ void make_wall(int id, vector<hyperpoint> vertices, bool force_triangles = false
|
||||
|
||||
finishshape();
|
||||
|
||||
shPlainWall3D[id] = force_triangles ? shWall3D[id] : shWireframe3D[id];
|
||||
shPlainWall3D[id] = shWall3D[id]; // force_triangles ? shWall3D[id] : shWireframe3D[id];
|
||||
}
|
||||
|
||||
vector<hyperpoint> make4(hyperpoint a, hyperpoint b, hyperpoint c) {
|
||||
|
Loading…
Reference in New Issue
Block a user