mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-28 00:23:36 +00:00
15 lines
248 B
C++
15 lines
248 B
C++
#pragma once
|
|
#include <memory>
|
|
|
|
class Entity;
|
|
class Chunk;
|
|
|
|
class DistanceChunkSorter {
|
|
private:
|
|
double ix, iy, iz;
|
|
|
|
public:
|
|
DistanceChunkSorter(std::shared_ptr<Entity> player);
|
|
bool operator()(const Chunk* a, const Chunk* b) const;
|
|
};
|