1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-03 11:17:56 +00:00

Removed floorshape::side, it will be simpler to always use gpside. The old gpside is now called side.

This commit is contained in:
Zeno Rogue
2025-03-17 00:08:02 +01:00
parent ec57120ae1
commit efd1a18104
5 changed files with 44 additions and 68 deletions

View File

@@ -92,12 +92,15 @@ void geometry_information::hpcpush(hyperpoint h) {
void geometry_information::chasmifyPoly(double fol, double fol2, SIDE p) {
if(GDIM == 2) {
hyperpoint tester = Hypc;
for(int i=isize(hpc)-1; i >= last->s; i--) {
tester += hpc[i];
hpc.push_back(orthogonal_move_fol(hpc[i], fol));
hpc[i] = orthogonal_move_fol(hpc[i], fol2);
}
hpc.push_back(hpc[last->s]);
last->flags |= POLY_ISSIDE;
last->intester = normalize(tester);
}
else {
vector<hyperpoint> points;