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

Function VectorNormalize

src/public/mathlib/vector.h:2239–2252  ·  view source on GitHub ↗

FIXME: Change this back to a #define once we get rid of the vec_t version

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

VectorNormalizeFastFunction · 0.70
NormalizeInPlaceMethod · 0.70
NormalizedMethod · 0.70
PostDataUpdateMethod · 0.50
PhysicsSplashFunction · 0.50
SetDirectionMethod · 0.50
FX_GunshotSplashFunction · 0.50
FX_GunshotSlimeSplashFunction · 0.50
ImpactTraceMethod · 0.50
SimulateMethod · 0.50
ComputeRenderInfoMethod · 0.50

Calls 3

_SSE_RSqrtInlineFunction · 0.85
_VMX_VectorNormalizeFunction · 0.85
LengthSqrMethod · 0.45

Tested by 15

FX_PlayerTracerFunction · 0.40
FX_TracerSoundFunction · 0.40
FX_TracerFunction · 0.40
TestMethod · 0.40
TestMethod · 0.40
TestMethod · 0.40
TestMethod · 0.40
TestMethod · 0.40
TestMethod · 0.40
TestMethod · 0.40
TestMethod · 0.40
TestMethod · 0.40