mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02:00
Clean up numeric.h and split FacePositionCache from it
I also optiized FacePositionCache a bit: I removed a map lookup and vector copy from both branches of getFacePosition.
This commit is contained in:
@@ -20,9 +20,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#include "mg_ore.h"
|
||||
#include "mapgen.h"
|
||||
#include "noise.h"
|
||||
#include "util/numeric.h"
|
||||
#include "map.h"
|
||||
#include "log.h"
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
FlagDesc flagdesc_ore[] = {
|
||||
{"absheight", OREFLAG_ABSHEIGHT},
|
||||
|
Reference in New Issue
Block a user