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

Function LNLIB_XYZW_subtract

dotnet/CAPI/src/XYZW_CAPI.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51XYZW_C LNLIB_XYZW_subtract(XYZW_C a, XYZW_C b)
52{
53 LNLib::XYZW va(a.wx, a.wy, a.wz, a.w);
54 LNLib::XYZW vb(b.wx, b.wy, b.wz, b.w);
55 LNLib::XYZW res = va - vb;
56 return { res.GetWX(), res.GetWY(), res.GetWZ(), res.GetW() };
57}
58
59XYZW_C LNLIB_XYZW_multiply(XYZW_C xyzw, double scalar)
60{

Callers

nothing calls this directly

Calls 4

GetWXMethod · 0.45
GetWYMethod · 0.45
GetWZMethod · 0.45
GetWMethod · 0.45

Tested by

no test coverage detected