implement world generator, frustum culling and rebuild queue
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user