1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

geometry_information wall functions compile without MAXMDIM >= 4

This commit is contained in:
Zeno Rogue 2019-09-13 03:47:18 +02:00
parent a3d9711ec2
commit 978022025a

View File

@ -693,12 +693,19 @@ void geometry_information::procedural_shapes() {
bshape(shSwitchDisk, PPR::FLOOR); for(int i=0; i<=S84; i+=S3) hpcpush(ddi(i, .06) * C0);
}
vector<ld> equal_weights(20, 1);
#if !(CAP_BT && MAXMDIM >= 4)
void geometry_information::make_wall(int id, vector<hyperpoint> vertices, vector<ld> weights) { }
void geometry_information::reserve_wall3d(int i) { }
void geometry_information::create_wall3d() { }
void geometry_information::compute_cornerbonus() { }
#endif
#if CAP_BT && MAXMDIM >= 4
// Make a wall
vector<ld> equal_weights(20, 1);
void geometry_information::make_wall(int id, vector<hyperpoint> vertices, vector<ld> weights) {
// orient correctly