mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-05 16:04:07 +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);
|
bshape(shWireframe3D[id], PPR::WALL);
|
||||||
if(!binarytiling) {
|
if(true) {
|
||||||
for(auto v: vertices) hpcpush(v);
|
|
||||||
hpcpush(vertices[0]);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
for(int a=0; a<n; a++) for(int y=0; y<STEP; y++)
|
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[a] * (STEP-y) + vertices[(a+1)%n] * y)/STEP);
|
||||||
at(vertices[0]);
|
at(vertices[0]);
|
||||||
@ -2381,7 +2377,7 @@ void make_wall(int id, vector<hyperpoint> vertices, bool force_triangles = false
|
|||||||
|
|
||||||
finishshape();
|
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) {
|
vector<hyperpoint> make4(hyperpoint a, hyperpoint b, hyperpoint c) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user