MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / Length

Method Length

SampleFramework11/v1.02/SF11_Math.cpp:168–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168float Float2::Length(const Float2& val)
169{
170 return std::sqrtf(val.x * val.x + val.y * val.y);
171}
172
173// == Float3 ======================================================================================
174

Callers 2

PerpendicularMethod · 0.80
GenerateTangentFrameMethod · 0.80

Calls 1

ToSIMDMethod · 0.45

Tested by

no test coverage detected