MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / Length

Function Length

engine/Poseidon/Graphics/Shadow/ShadowMath.cpp:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19float Length(const Vec3& v)
20{
21 return std::sqrt(Dot(v, v));
22}
23
24Vec3 Normalize(const Vec3& v)
25{

Callers 1

NormalizeFunction · 0.85

Calls 2

sqrtFunction · 0.85
DotFunction · 0.85

Tested by

no test coverage detected