diff options
author | Elisey Puzko <puzko.e02@gmail.com> | 2018-02-23 09:53:57 +0100 |
---|---|---|
committer | Elisey Puzko <puzko.e02@gmail.com> | 2018-02-23 09:53:57 +0100 |
commit | 70e34f36453fdb116eb580a32a6757a11163a812 (patch) | |
tree | 5cf2952bc89f29d7c3021781fd1a66aa2d4e7e76 /src/GameState.cpp | |
parent | Bare-bones face detection for a block placement (diff) | |
download | AltCraft-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.cpp | 2 |
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; |