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

Method ProjectPointOntoPath

src/game/server/team_train_watcher.cpp:1464–1520  ·  view source on GitHub ↗

Project the given position onto the track and return the point and how far along that projected position is

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 7

HasBeenVisitedMethod · 0.80
DotProductFunction · 0.50
VisitMethod · 0.45
GetNextMethod · 0.45
GetAbsOriginMethod · 0.45
NormalizeInPlaceMethod · 0.45
LengthSqrMethod · 0.45

Tested by

no test coverage detected