Update gameplay

This commit is contained in:
schmelczerandras 2020-10-23 15:19:04 +02:00
parent 49c410d8ff
commit 23fa7646d6
10 changed files with 165 additions and 33 deletions

View file

@ -15,8 +15,8 @@ export class BlobShape extends Drawable {
float blobSmoothMin(float a, float b)
{
const float k = 300.0;
float res = exp2(-k * a) + exp2(-k * b);
const highp float k = 300.0;
highp float res = exp2(-k * a) + exp2(-k * b);
return -log2(res) / k;
}