MCPcopy 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
63double distance3D(int x, int y, int z)
64{
65 return sqrt( (double)(x*x + y*y+ z*z) );
66}
67DEFINE_PRIME3(distance3D);
68
69void fields(value object)

Callers

nothing calls this directly

Calls 1

sqrtFunction · 0.85

Tested by

no test coverage detected