MCPcopy Create free account
hub / github.com/GPUOpen-Tools/compressonator / length

Function length

cmp_compressonatorlib/astc/astc_encode_kernel.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58float length(float2 p)
59{
60 return (float)(sqrt(dot(p, p)));
61}
62
63float length(float3 p)
64{

Callers 1

normalizeFunction · 0.70

Calls 1

dotFunction · 0.70

Tested by

no test coverage detected