Fixed getFaceVisibility not using west face

This commit is contained in:
Lucas Dower 2022-11-05 02:23:30 +00:00
parent d72fd5330f
commit 4400f084b0
No known key found for this signature in database
GPG Key ID: B3EE6B8499593605

View File

@ -82,7 +82,7 @@ export class VoxelMesh {
visibility += EFaceVisibility.East;
}
if (!this.isOpaqueVoxelAt(Vector3.add(pos, new Vector3(0, 0, -1)))) {
visibility += EFaceVisibility.South;
visibility += EFaceVisibility.West;
}
return visibility;
}