diff --git a/raycaster.cpp b/raycaster.cpp index 469e9b93..bc2bdd00 100644 --- a/raycaster.cpp +++ b/raycaster.cpp @@ -812,12 +812,10 @@ void enable_raycaster() { else fmain += "position = position + tangent * dist;\n"; - #if CAP_FIX_RAYCAST if(hyperbolic) fmain += "position /= sqrt(position.w*position.w - dot(position.xyz, position.xyz));\n" "tangent -= dot(vec4(-position.xyz, position.w), tangent) * position;\n" "tangent /= sqrt(dot(tangent.xyz, tangent.xyz) - tangent.w*tangent.w);\n"; - #endif if(hyperbolic && bt::in()) { fmain +=