summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorElisey Puzko <puzko.e02@gmail.com>2018-02-23 10:47:46 +0100
committerElisey Puzko <puzko.e02@gmail.com>2018-02-23 10:47:46 +0100
commit05126872d522a3a031086dcce866de9643f38c3f (patch)
tree6e2a88e0f97901e2f0d0853271348b8610df9f4b /src/World.cpp
parentRemoved redundant header (diff)
downloadAltCraft-05126872d522a3a031086dcce866de9643f38c3f.tar
AltCraft-05126872d522a3a031086dcce866de9643f38c3f.tar.gz
AltCraft-05126872d522a3a031086dcce866de9643f38c3f.tar.bz2
AltCraft-05126872d522a3a031086dcce866de9643f38c3f.tar.lz
AltCraft-05126872d522a3a031086dcce866de9643f38c3f.tar.xz
AltCraft-05126872d522a3a031086dcce866de9643f38c3f.tar.zst
AltCraft-05126872d522a3a031086dcce866de9643f38c3f.zip
Diffstat (limited to '')
-rw-r--r--src/World.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 110b16b..59399f5 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -138,6 +138,7 @@ const Section &World::GetSection(Vector sectionPos) {
}
}
+// TODO: skip liquid blocks
RaycastResult World::Raycast(glm::vec3 position, glm::vec3 direction) {
const float maxLen = 5.0;
const float step = 0.01;