mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 02:43:37 +00:00
13 lines
229 B
C++
13 lines
229 B
C++
#pragma once
|
|
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;
|
|
};
|