Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ distance3D
Function
distance3D
test/cffi/project/Project.cpp:63–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
62
63
double distance3D(int x, int y, int z)
64
{
65
return sqrt( (double)(x*x + y*y+ z*z) );
66
}
67
DEFINE_PRIME3(distance3D);
68
69
void fields(value object)
Callers
nothing calls this directly
Calls
1
sqrt
Function · 0.85
Tested by
no test coverage detected