mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-03 12:49:17 +00:00
floor textures now work with >8 sides
This commit is contained in:
parent
2d30f3830c
commit
856e1147a1
@ -901,7 +901,7 @@ 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);
|
||||
|
||||
for(int a=0; a<8; a++)
|
||||
for(int a=0; a<MAX_EDGE; a++)
|
||||
texture_order([&] (ld x, ld y) {
|
||||
hyperpoint h = center + v1 * x + v2 * y;
|
||||
hyperpoint inmodel;
|
||||
|
Loading…
Reference in New Issue
Block a user