summaryrefslogtreecommitdiffstats
path: root/src/World.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-02-03 18:42:25 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-02-03 18:42:25 +0100
commit7492187ad2e16c7398ca4ed812a57045c3d42d68 (patch)
tree0bfc9a274bf1616b5220b9567ff1c422f4391b12 /src/World.hpp
parentImplemented basic digging (diff)
downloadAltCraft-7492187ad2e16c7398ca4ed812a57045c3d42d68.tar
AltCraft-7492187ad2e16c7398ca4ed812a57045c3d42d68.tar.gz
AltCraft-7492187ad2e16c7398ca4ed812a57045c3d42d68.tar.bz2
AltCraft-7492187ad2e16c7398ca4ed812a57045c3d42d68.tar.lz
AltCraft-7492187ad2e16c7398ca4ed812a57045c3d42d68.tar.xz
AltCraft-7492187ad2e16c7398ca4ed812a57045c3d42d68.tar.zst
AltCraft-7492187ad2e16c7398ca4ed812a57045c3d42d68.zip
Diffstat (limited to '')
-rw-r--r--src/World.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.hpp b/src/World.hpp
index 6d10491..50dfa31 100644
--- a/src/World.hpp
+++ b/src/World.hpp
@@ -55,7 +55,7 @@ public:
const Section &GetSection(Vector sectionPos);
- glm::vec3 Raycast(glm::vec3 position, glm::vec3 direction, float maxLength = 1000.0f, float minPrecision = 0.01f);
+ Vector Raycast(glm::vec3 position, glm::vec3 direction, float &distance);
void UpdatePhysics(float delta);