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

Function LNLIB_XYZ_subtract

dotnet/CAPI/src/XYZ_CAPI.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60XYZ_C LNLIB_XYZ_subtract(XYZ_C a, XYZ_C b)
61{
62 LNLib::XYZ va(a.x, a.y, a.z);
63 LNLib::XYZ vb(b.x, b.y, b.z);
64 LNLib::XYZ res = va - vb;
65 return { res.GetX(), res.GetY(), res.GetZ() };
66}
67
68XYZ_C LNLIB_XYZ_negative(XYZ_C xyz)
69{

Callers

nothing calls this directly

Calls 3

GetXMethod · 0.45
GetYMethod · 0.45
GetZMethod · 0.45

Tested by

no test coverage detected