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

Function LNLIB_XYZ_multiply

dotnet/CAPI/src/XYZ_CAPI.cpp:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75XYZ_C LNLIB_XYZ_multiply(XYZ_C xyz, double scalar)
76{
77 LNLib::XYZ va(xyz.x, xyz.y, xyz.z);
78 LNLib::XYZ res = va * scalar;
79 return { res.GetX(), res.GetY(), res.GetZ() };
80}
81
82XYZ_C LNLIB_XYZ_divide(XYZ_C xyz, double scalar)
83{

Callers

nothing calls this directly

Calls 3

GetXMethod · 0.45
GetYMethod · 0.45
GetZMethod · 0.45

Tested by

no test coverage detected