mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +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,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",
|
||||
|
Reference in New Issue
Block a user