1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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:
ShadowNinja 2015-07-06 12:53:30 -04:00
parent b6f4a9c7e1
commit 77597c4ff3
17 changed files with 205 additions and 157 deletions

View file

@ -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},