diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-07-06 12:53:30 -0400 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2017-05-06 16:09:45 -0400 |
commit | 77597c4ff3b666cc37dd257952938df48d7e6f09 (patch) | |
tree | 00e8ce314ddf1c3eb52bbe6f3521b8a1ea0200ff /src/clientiface.cpp | |
parent | b6f4a9c7e1a4f0bac66fd6f6ff844425ac775975 (diff) | |
download | hax-minetest-server-77597c4ff3b666cc37dd257952938df48d7e6f09.tar.gz hax-minetest-server-77597c4ff3b666cc37dd257952938df48d7e6f09.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/clientiface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientiface.cpp b/src/clientiface.cpp index 7f476f0ea..78339055f 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -20,7 +20,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <sstream> #include "clientiface.h" -#include "util/numeric.h" #include "remoteplayer.h" #include "settings.h" #include "mapblock.h" @@ -32,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "log.h" #include "network/serveropcodes.h" #include "util/srp.h" +#include "face_position_cache.h" const char *ClientInterface::statenames[] = { "Invalid", |