MCPcopy Create free account
hub / github.com/OpenEnroth/OpenEnroth / CollideSphereWithLine

Function CollideSphereWithLine

src/Engine/Graphics/Collisions.cpp:49–80  ·  view source on GitHub ↗

* @param pos Position of the sphere. * @param p1 Starting point of line. * @param p2 End point of line. * @param radius Radius to use. * @param currentmovedist Current largest movement distance before a collision. * @param[out] newmovedist Move distance along the `

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CollideSphereWithFaceFunction · 0.85
CollideWithCylinderFunction · 0.85

Calls 2

hasShorterSolutionFunction · 0.85
lengthSqrMethod · 0.45

Tested by

no test coverage detected