Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
58
float length(float2 p)
59
{
60
return (float)(sqrt(dot(p, p)));
61
}
62
63
float length(float3 p)
64
{
Callers
1
normalize
Function · 0.70
Calls
1
dot
Function · 0.70
Tested by
no test coverage detected