aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Vec3.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/Vec3.h')
-rw-r--r--Minecraft.World/Vec3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Minecraft.World/Vec3.h b/Minecraft.World/Vec3.h
index 00a74103..0ef6cae0 100644
--- a/Minecraft.World/Vec3.h
+++ b/Minecraft.World/Vec3.h
@@ -56,4 +56,8 @@ public:
// 4J Added
double distanceTo(AABB *box);
+
+ Vec3* closestPointOnLine(Vec3* p1, Vec3* p2);
+ double distanceFromLine(Vec3* p1, Vec3* p2);
+
}; \ No newline at end of file