summaryrefslogtreecommitdiffstats
path: root/src/GameState.cpp
diff options
context:
space:
mode:
authorElisey Puzko <puzko.e02@gmail.com>2018-02-23 09:53:57 +0100
committerElisey Puzko <puzko.e02@gmail.com>2018-02-23 09:53:57 +0100
commit70e34f36453fdb116eb580a32a6757a11163a812 (patch)
tree5cf2952bc89f29d7c3021781fd1a66aa2d4e7e76 /src/GameState.cpp
parentBare-bones face detection for a block placement (diff)
downloadAltCraft-70e34f36453fdb116eb580a32a6757a11163a812.tar
AltCraft-70e34f36453fdb116eb580a32a6757a11163a812.tar.gz
AltCraft-70e34f36453fdb116eb580a32a6757a11163a812.tar.bz2
AltCraft-70e34f36453fdb116eb580a32a6757a11163a812.tar.lz
AltCraft-70e34f36453fdb116eb580a32a6757a11163a812.tar.xz
AltCraft-70e34f36453fdb116eb580a32a6757a11163a812.tar.zst
AltCraft-70e34f36453fdb116eb580a32a6757a11163a812.zip
Diffstat (limited to '')
-rw-r--r--src/GameState.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/GameState.cpp b/src/GameState.cpp
index 7498e17..4128fd6 100644
--- a/src/GameState.cpp
+++ b/src/GameState.cpp
@@ -586,8 +586,6 @@ void GameState::CancelDigging() {
PUSH_EVENT("SendPacket", packet);
}
-#include <algorithm>
-
BlockFacing detectHitFace(VectorF raycastHit, Vector selectedBlock) {
auto vec = VectorF(selectedBlock.x + .5, selectedBlock.y + .5, selectedBlock.z +.5) - raycastHit;