MCPcopy Create free account
hub / github.com/BIMCoderLiang/LNLib / LNLIB_UV_is_almost_equal

Function LNLIB_UV_is_almost_equal

dotnet/CAPI/src/UV_CAPI.cpp:117–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117int LNLIB_UV_is_almost_equal(UV_C a, UV_C b, double epsilon)
118{
119 return (LNLib::MathUtils::IsAlmostEqualTo(a.u, b.u, epsilon) &&
120 LNLib::MathUtils::IsAlmostEqualTo(a.v, b.v, epsilon)) ? 1 : 0;
121}
122
123double LNLIB_UV_dot_product(UV_C a, UV_C b)
124{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected