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

Function IntersectRayWithOBB

src/public/collisionutils.cpp:1284–1294  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Intersects a ray against an OBB, returns t1 and t2 -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

FindAimTargetMethod · 0.85
FindAimTargetMethod · 0.85
TestCollisionMethod · 0.85
SweepBoxToStudioFunction · 0.85

Calls 15

IntersectRayWithBoxFunction · 0.85
AssertFunction · 0.85
AngleMatrixFunction · 0.85
IsRayIntersectingSphereFunction · 0.85
FloatMakePositiveFunction · 0.85
ComputeSupportMapFunction · 0.85
MatrixITransformPlaneFunction · 0.85
Collision_ClearTraceFunction · 0.70
VectorITransformFunction · 0.50
VectorIRotateFunction · 0.50
VectorTransformFunction · 0.50
DotProductFunction · 0.50

Tested by 1

TestCollisionMethod · 0.68