1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 20:08:06 +00:00

solv:: CAP_SOLV

This commit is contained in:
Zeno Rogue
2019-09-13 17:45:31 +02:00
parent a4579e95c1
commit 2a950369ba
5 changed files with 29 additions and 6 deletions

View File

@@ -695,7 +695,7 @@ void init() {
bool ball = (sp == shader_projection::ball);
bool flatten = (sp == shader_projection::flatten);
if(ssol && ISWEB) continue;
if(ssol && !CAP_SOLV) continue;
programs[i][j] = new GLprogram(stringbuilder(
1, "#define PI 3.14159265358979324\n",
@@ -743,7 +743,9 @@ void init() {
1, " return (h[2] < 0.0 ? -1.0 : 1.0) * sqrt(h[2]*h[2] - h[0]*h[0] - h[1]*h[1]);",
1, " }",
ssol, solv::solshader,
#if CAP_SOLV
ssol, solv::solshader,
#endif
snil, nilv::nilshader,
ssl2, slr::slshader,