implement world generator, frustum culling and rebuild queue

This commit is contained in:
LabyStudio
2022-02-01 10:17:03 +01:00
parent ed49c9f776
commit a3c21b3727
16 changed files with 481 additions and 35 deletions
+8
View File
@@ -8,4 +8,12 @@ window.MathHelper = class {
return value < i ? i - 1 : i;
}
static toDegrees(angle) {
return angle * (180 / Math.PI);
}
static toRadians(degree) {
return degree * (Math.PI / 180);
};
}