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:
parent
31427a6d24
commit
c505bd55a8
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user