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

Function LNLIB_XYZ_is_almost_equal

dotnet/CAPI/src/XYZ_CAPI.cpp:127–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127int LNLIB_XYZ_is_almost_equal(XYZ_C a, XYZ_C b, double epsilon)
128{
129 return
130 (LNLib::MathUtils::IsAlmostEqualTo(a.x, b.x, epsilon) &&
131 LNLib::MathUtils::IsAlmostEqualTo(a.y, b.y, epsilon) &&
132 LNLib::MathUtils::IsAlmostEqualTo(a.z, b.z, epsilon)) ? 1 : 0;
133}
134
135XYZ_C LNLIB_XYZ_normalize(XYZ_C xyz)
136{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected