mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-28 06:05:18 +01:00
Apply some minor code cleanups
This commit is contained in:
@@ -93,7 +93,7 @@ class MeshUpdateManager;
|
||||
class MeshUpdateWorkerThread : public UpdateThread
|
||||
{
|
||||
public:
|
||||
MeshUpdateWorkerThread(Client *client, MeshUpdateQueue *queue_in, MeshUpdateManager *manager, v3s16 *camera_offset);
|
||||
MeshUpdateWorkerThread(Client *client, MeshUpdateQueue *queue_in, MeshUpdateManager *manager);
|
||||
|
||||
protected:
|
||||
virtual void doUpdate();
|
||||
@@ -102,7 +102,6 @@ private:
|
||||
Client *m_client;
|
||||
MeshUpdateQueue *m_queue_in;
|
||||
MeshUpdateManager *m_manager;
|
||||
v3s16 *m_camera_offset;
|
||||
|
||||
// TODO: Add callback to update these when g_settings changes
|
||||
int m_generation_interval;
|
||||
@@ -121,8 +120,6 @@ public:
|
||||
bool getNextResult(MeshUpdateResult &r);
|
||||
|
||||
|
||||
v3s16 m_camera_offset;
|
||||
|
||||
void start();
|
||||
void stop();
|
||||
void wait();
|
||||
|
||||
Reference in New Issue
Block a user