mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-07 01:34:07 +00:00
fixed simple perspective in nonisotropic
This commit is contained in:
parent
dac132b094
commit
97c9673b30
@ -217,7 +217,7 @@ shared_ptr<glhr::GLprogram> write_shader(flagtype shader_flags) {
|
|||||||
shader_flags |= SF_PERS3 | SF_DIRECT;
|
shader_flags |= SF_PERS3 | SF_DIRECT;
|
||||||
if(hyperbolic)
|
if(hyperbolic)
|
||||||
distfun = "acosh(t[3])", treset = true;
|
distfun = "acosh(t[3])", treset = true;
|
||||||
else if(euclid)
|
else if(euclid || nonisotropic)
|
||||||
distfun = "length(t.xyz)", treset = true;
|
distfun = "length(t.xyz)", treset = true;
|
||||||
else {
|
else {
|
||||||
if(spherephase & 4) coordinator += "t = -t;\n";
|
if(spherephase & 4) coordinator += "t = -t;\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user