Skip to content

Commit

Permalink
Fix incorrect require path in LineSegmentToPoint
Browse files Browse the repository at this point in the history
  • Loading branch information
claylittlehorse committed Sep 25, 2019
1 parent fd67641 commit 80b2e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DistanceOf/LineSegmentToPoint.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- Reference: http://www.r-5.org/files/books/computers/algo-list/realtime-3d/Christer_Ericson-Real-Time_Collision_Detection-EN.pdf
-- Page 129-130: Distance of Point to Segment

local LineSegmentToPointSquared = require(script.ParentLineSegmentToPointSquared)
local LineSegmentToPointSquared = require(script.Parent.LineSegmentToPointSquared)

local function LineSegmentToPoint(segmentPointA, segmentPointB, pointC)
local distanceSquared = LineSegmentToPointSquared(segmentPointA, segmentPointB, pointC)
Expand Down

0 comments on commit 80b2e94

Please sign in to comment.