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

Method CalcDistanceFromPoint

src/game/shared/collisionproperty.cpp:949–956  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Computes the nearest point in the OBB to a point specified in world space -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

GetDistanceBlendMethod · 0.80
RadiationThinkMethod · 0.80
IsWindowOpenMethod · 0.80
IsRangeLessThanMethod · 0.80
IsRangeGreaterThanMethod · 0.80
GetRangeToMethod · 0.80
GetRangeSquaredToMethod · 0.80
PrimaryAttackMethod · 0.80
CheckCollisionsMethod · 0.80

Calls 3

CalcClosestPointOnAABBFunction · 0.85
GetMethod · 0.45
DistToMethod · 0.45

Tested by

no test coverage detected