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

Function LNLIB_UV_normalize

dotnet/CAPI/src/UV_CAPI.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64UV_C LNLIB_UV_normalize(UV_C uv)
65{
66 LNLib::UV v(uv.u, uv.v);
67 LNLib::UV result = v.Normalize();
68 return { result.GetU(), result.GetV() };
69}
70
71UV_C LNLIB_UV_scale(UV_C uv, double factor)
72{

Callers

nothing calls this directly

Calls 3

NormalizeMethod · 0.45
GetUMethod · 0.45
GetVMethod · 0.45

Tested by

no test coverage detected