implement chat, implement teleport, help and time command, use relative vertex positions for block rendering, version 1.0.3

This commit is contained in:
LabyStudio
2022-05-17 01:41:16 +02:00
parent 1e10dda0e2
commit 32245a9136
18 changed files with 416 additions and 81 deletions
@@ -23,6 +23,10 @@ export default class ChunkSection {
this.boundingBox.max.z = z * ChunkSection.SIZE + ChunkSection.SIZE;
this.group = new THREE.Object3D();
this.group.position.x = this.x * ChunkSection.SIZE;
this.group.position.y = this.y * ChunkSection.SIZE;
this.group.position.z = this.z * ChunkSection.SIZE;
this.group.updateMatrix();
this.group.matrixAutoUpdate = false;
this.isModified = true;