#include <face_position_cache.h>
Static Public Member Functions | |
static const std::vector< v3s16 > & | getFacePositions (u16 d) |
Static Private Member Functions | |
static const std::vector< v3s16 > & | generateFacePosition (u16 d) |
Static Private Attributes | |
static std::unordered_map< u16, std::vector< v3s16 > > | cache |
static std::mutex | cache_mutex |
|
staticprivate |
|
static |
References cache, cache_mutex, and generateFacePosition().
Referenced by ModApiEnvBase::findNodeNear(), and RemoteClient::GetNextBlocks().
|
staticprivate |
Referenced by generateFacePosition(), and getFacePositions().
|
staticprivate |
Referenced by getFacePositions().