mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
2d3d:: no more matrix/unmappable warnings
This commit is contained in:
@@ -184,7 +184,7 @@ void bshape2(hpcshape& sh, PPR prio, int shapeid, matrixlist& m) {
|
||||
int mapped = 0;
|
||||
for(auto& m: matrices) {
|
||||
hyperpoint z = m.first * h;
|
||||
if(z[0] > -1e-5 && z[1] > -1e-5 && z[2] > -1e-5) {
|
||||
if(z[0] > -1e-5 && z[1] > -1e-5 && z[GDIM] > -1e-5) {
|
||||
nh = m.second[r] * z, mapped++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user