implement sunrise and sunset, improve sky coloring, implement alpha channel in Tessellator, update threejs

This commit is contained in:
LabyStudio
2022-05-03 00:40:38 +02:00
parent 24aed783fa
commit 058b81210a
5 changed files with 370 additions and 74 deletions
+14
View File
@@ -0,0 +1,14 @@
export default class Vector4 {
constructor(x = 0, y = 0, z = 0, w = 0) {
this.x = x;
this.y = y;
this.z = z;
this.w = w;
}
addVector(x, y, z, w) {
return new Vector4(this.x + x, this.y + y, this.z + z, this.w + w);
}
}