fixed drawing warped water on spheres

This commit is contained in:
Zeno Rogue
2018-04-11 19:01:25 +02:00
parent 000eb87847
commit 77258cdb02
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -1342,7 +1342,8 @@ void buildpolys() {
trihepta0 = trihepta1 = crossf * 1.35 / 2;
if(sphere&&S7==3&&!gp::on) trihepta0 *= 1.3, trihepta1 *= 1.6;
if(sphere&&S3==3&&gp::on) trihepta1 *= whatever;
if(sphere&&gp::on) trihepta1 *= 1.4;
int tshift0 = (a4?S14:0);
int tshift1 = (td + (!(S7&1))) ? S6:0; // +S6+(a4&(S7&1)?S6:0);