MCPcopy Create free account
hub / github.com/MBU-Team/OpenMBU / segmentSegmentNearest

Function segmentSegmentNearest

engine/source/math/mathUtils.cpp:27–86  ·  view source on GitHub ↗

Intersect two line segments (p1,q1) and (p2,q2), returning points on lines (c1 & c2) and line parameters (s,t). Based on routine from "Real Time Collision Detection" by Christer Ericson pp 149.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

capsuleCapsuleOverlapFunction · 0.85

Calls 2

mDotFunction · 0.85
mClampFFunction · 0.85

Tested by

no test coverage detected