mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
fix clang-check warnings
This commit is contained in:
parent
4c23dc6adf
commit
17dcbe98ab
8 changed files with 8 additions and 12 deletions
|
|
@ -289,8 +289,6 @@ void Hud::updateWorldGenDebugVisualization() {
|
|||
|
||||
for (int z = 0; z < height; z++) {
|
||||
for (int x = 0; x < width; x++) {
|
||||
int cx = x + ox;
|
||||
int cz = z + oz;
|
||||
int flippedZ = height - z - 1;
|
||||
|
||||
int ax = x - (width - areaWidth) / 2;
|
||||
|
|
|
|||
|
|
@ -148,7 +148,6 @@ void LevelScreen::saveWorldPreview() {
|
|||
}
|
||||
|
||||
void LevelScreen::updateHotkeys() {
|
||||
auto player = playerController->getPlayer();
|
||||
auto& settings = engine.getSettings();
|
||||
if (Events::jpressed(keycode::O)) {
|
||||
settings.graphics.frustumCulling.toggle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue