Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Mar 17, 2024
1 parent 0738036 commit 044247b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/client/hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <string>
#include <iostream>
#include <cmath>
#include "client/mapblock_mesh.h"
#include "settings.h"
#include "util/numeric.h"
#include "log.h"
Expand Down
5 changes: 2 additions & 3 deletions src/fm_farmesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ void FarMesh::makeFarBlocks(const v3bpos_t &blockpos)
m_make_far_blocks_last = 0;
}
#endif
}

FarMesh::FarMesh(scene::ISceneNode *parent, scene::ISceneManager *mgr, s32 id,
// u64 seed,
Expand Down Expand Up @@ -529,12 +528,12 @@ void FarMesh::update(v3f camera_pos, v3f camera_dir, f32 camera_fov,
continue;
++planes_processed;
async[i].step([&, i = i, end_ms = end_ms]() {
DUMP("steps goooo", i, async[i].valid());
DUMP("steps goooo", i, async[i].valid());
for (int depth = 0; depth < 100; ++depth) {
plane_caches[i].processed = go_direction(i);
if (!plane_caches[i].processed)
break;
break;
break;
}
});
}
Expand Down

0 comments on commit 044247b

Please sign in to comment.