mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +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;
|
||||
if(hyperbolic)
|
||||
distfun = "acosh(t[3])", treset = true;
|
||||
else if(euclid)
|
||||
else if(euclid || nonisotropic)
|
||||
distfun = "length(t.xyz)", treset = true;
|
||||
else {
|
||||
if(spherephase & 4) coordinator += "t = -t;\n";
|
||||
|
Loading…
Reference in New Issue
Block a user