implement biome color

This commit is contained in:
LabyStudio
2022-05-05 01:27:08 +02:00
parent 1d15ad6474
commit 3e2bf1eddb
12 changed files with 127 additions and 52 deletions
@@ -36,6 +36,13 @@ export default class Tessellator {
this.setAlpha(alpha);
}
multiplyColor(red, green, blue, alpha = 1) {
this.red *= red;
this.green *= green;
this.blue *= blue;
this.alpha *= alpha;
}
setAlpha(alpha) {
this.alpha = alpha;
}