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

Function LNLIB_XYZW_is_almost_equal

dotnet/CAPI/src/XYZW_CAPI.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34int LNLIB_XYZW_is_almost_equal(XYZW_C a, XYZW_C b, double epsilon)
35{
36 return
37 (LNLib::MathUtils::IsAlmostEqualTo(a.wx, b.wx, epsilon) &&
38 LNLib::MathUtils::IsAlmostEqualTo(a.wy, b.wy, epsilon) &&
39 LNLib::MathUtils::IsAlmostEqualTo(a.wz, b.wz, epsilon) &&
40 LNLib::MathUtils::IsAlmostEqualTo(a.w, b.w, epsilon)) ? 1 : 0;
41}
42
43XYZW_C LNLIB_XYZW_add(XYZW_C a, XYZW_C b)
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected