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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user