1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

3d:: fixed halfplane_scale not in GL

This commit is contained in:
Zeno Rogue 2019-03-21 19:11:58 +01:00
parent 31427a6d24
commit c505bd55a8

View File

@ -323,6 +323,7 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
if(DIM == 3) {
// a bit simpler when we do not care about 3D
H *= conformal::halfplane_scale;
ret[0] = -H[0];
ret[1] = 1 + H[1];
ret[2] = H[2];