1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-17 19:52:06 +00:00

3D:: shader variants for R3 and S3

This commit is contained in:
?
2019-02-25 04:04:26 +01:00
committed by Zeno Rogue
parent 4b356d9945
commit 1fcf58e17a
4 changed files with 19 additions and 9 deletions
+1 -1
View File
@@ -1594,7 +1594,7 @@ bool do_draw(cell *c) {
bool do_draw(cell *c, const transmatrix& T) {
if(DIM == 3) {
if(hyperbolic && T[DIM][DIM] > binary::btrange_cosh) return false;
if(euclid && hypot_d(tC0(T), 3) > 10) return false;
if(euclid && hypot_d(tC0(T), 3) > 7) return false;
setdist(c, 7, c);
return true;
}