MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / vec2_distance_squared

Function vec2_distance_squared

Source/Wasm/WasmRuntime.cpp:1705–1707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1703 return Vec2_From(a).distance(Vec2_From(b));
1704}
1705DORA_EXPORT float vec2_distance_squared(int64_t a, int64_t b) {
1706 return Vec2_From(a).distanceSquared(Vec2_From(b));
1707}
1708DORA_EXPORT float vec2_length(int64_t a) {
1709 return Vec2_From(a).length();
1710}

Callers 1

distance_squaredMethod · 0.85

Calls 2

Vec2_FromFunction · 0.85
distanceSquaredMethod · 0.80

Tested by

no test coverage detected