fixed simple perspective in nonisotropic

This commit is contained in:
Zeno Rogue 2019-11-09 12:33:13 +01:00
parent dac132b094
commit 97c9673b30
1 changed files with 1 additions and 1 deletions

View File

@ -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";