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

Function LNLIB_XYZ_normalize

dotnet/CAPI/src/XYZ_CAPI.cpp:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135XYZ_C LNLIB_XYZ_normalize(XYZ_C xyz)
136{
137 LNLib::XYZ vv(xyz.x, xyz.y, xyz.z);
138 LNLib::XYZ res = vv.Normalize();
139 return { res.GetX(), res.GetY(), res.GetZ() };
140}
141
142double LNLIB_XYZ_dot_product(XYZ_C a, XYZ_C b)
143{

Callers

nothing calls this directly

Calls 4

NormalizeMethod · 0.45
GetXMethod · 0.45
GetYMethod · 0.45
GetZMethod · 0.45

Tested by

no test coverage detected