MCPcopy Create free account
hub / github.com/LabSound/LabSound / normalize

Function normalize

include/LabSound/core/FloatPoint3D.h:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92inline float3 normalize(const float3 & v)
93{
94 return v / magnitude(v);
95}
96
97inline bool is_zero(const float3 & v)
98{

Callers 4

setNormalizeMethod · 0.85
_activateNewImpulseMethod · 0.85
getAzimuthElevationMethod · 0.85
gainMethod · 0.85

Calls 1

magnitudeFunction · 0.85

Tested by

no test coverage detected