" position *= 0.125;\n"
" //~tweaked for Quake\n"
" float distanceSquared = (position.x * position.x + position.z * position.z);\n"
-" position.y += 5*sin(distanceSquared*sin(float(worldTime)/143.0)/1000.0);\n"
+" position.y += 5.0*sin(distanceSquared*sin(worldTime/143.0)/1000.0);\n"
" float y = position.y;\n"
" float x = position.x;\n"
-" float om = sin(distanceSquared*sin(float(worldTime)/256.0)/5000.0) * sin(float(worldTime)/200.0);\n"
+" float om = sin(distanceSquared*sin(worldTime/256.0)/5000.0) * sin(worldTime/200.0);\n"
" position.y = x*sin(om)+y*cos(om);\n"
" position.x = x*cos(om)-y*sin(om);\n"
" return position;\n"