1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 22:07:38 +00:00

SLR works with Archimedean

This commit is contained in:
Zeno Rogue
2019-08-26 15:39:37 +02:00
parent 7bd80dab18
commit afa3cd599d
3 changed files with 15 additions and 6 deletions

View File

@@ -942,8 +942,8 @@ void draw_shape_for_texture(floorshape* sh) {
hyperpoint v1 = hpxyz3(0.25, 0.25, 0, 0);
hyperpoint v2 = hpxyz3(0.25, -0.25, 0, 0);
// SL2 needs 42
for(int a=0; a<max(MAX_EDGE, 42); a++)
// SL2 needs 6 times more
for(int a=0; a<MAX_EDGE*6; a++)
texture_order([&] (ld x, ld y) {
hyperpoint h = center + v1 * x + v2 * y;
hyperpoint inmodel;