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

Function LNLIB_XYZ_add

dotnet/CAPI/src/XYZ_CAPI.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52XYZ_C LNLIB_XYZ_add(XYZ_C a, XYZ_C b)
53{
54 LNLib::XYZ va(a.x, a.y, a.z);
55 LNLib::XYZ vb(b.x, b.y, b.z);
56 LNLib::XYZ res = va + vb;
57 return { res.GetX(), res.GetY(), res.GetZ() };
58}
59
60XYZ_C LNLIB_XYZ_subtract(XYZ_C a, XYZ_C b)
61{

Callers

nothing calls this directly

Calls 3

GetXMethod · 0.45
GetYMethod · 0.45
GetZMethod · 0.45

Tested by

no test coverage detected