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

Function LNLIB_UV_divide

dotnet/CAPI/src/UV_CAPI.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78UV_C LNLIB_UV_divide(UV_C uv, double divisor)
79{
80 if (divisor == 0.0) return uv;
81 LNLib::UV v(uv.u, uv.v);
82 v /= divisor;
83 return { v.GetU(), v.GetV() };
84}
85
86double LNLIB_UV_length(UV_C uv)
87{

Callers

nothing calls this directly

Calls 2

GetUMethod · 0.45
GetVMethod · 0.45

Tested by

no test coverage detected