mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-17 11:38:05 +00:00
3d:: corner_bonus
This commit is contained in:
@@ -2615,7 +2615,11 @@ void create_wall3d() {
|
||||
if(shWall3D[i].flags & POLY_TRIANGLES)
|
||||
last->flags |= POLY_TRIANGLES;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
corner_bonus = 0;
|
||||
for(hpcshape sh: shWall3D) for(int i=sh.s; i<sh.e; i++)
|
||||
corner_bonus = max(corner_bonus, hdist0(hpc[i]));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user