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

Function LNLIB_XYZ_negative

dotnet/CAPI/src/XYZ_CAPI.cpp:68–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68XYZ_C LNLIB_XYZ_negative(XYZ_C xyz)
69{
70 LNLib::XYZ va(xyz.x, xyz.y, xyz.z);
71 LNLib::XYZ res = -va;
72 return { res.GetX(), res.GetY(), res.GetZ() };
73}
74
75XYZ_C LNLIB_XYZ_multiply(XYZ_C xyz, double scalar)
76{

Callers

nothing calls this directly

Calls 3

GetXMethod · 0.45
GetYMethod · 0.45
GetZMethod · 0.45

Tested by

no test coverage detected