summaryrefslogtreecommitdiffstats
path: root/src/World.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.hpp')
-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);