MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / IntersectRayWithSphere

Function IntersectRayWithSphere

src/public/collisionutils.cpp:495–511  ·  view source on GitHub ↗

----------------------------------------------------------------------------- IntersectRayWithSphere Returns whether or not there was an intersection. Returns the two intersection points, clamped to (0,1) -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

operator()Method · 0.85

Calls 1

Tested by

no test coverage detected