Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRealMJP/DeferredTexturing
/ Length
Method
Length
SampleFramework12/v1.00/SF12_Math.cpp:171–174 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
169
}
170
171
float Float2::Length(const Float2& val)
172
{
173
return std::sqrtf(val.x * val.x + val.y * val.y);
174
}
175
176
// == Float3 ======================================================================================
177
Callers
1
Perpendicular
Method · 0.80
Calls
1
ToSIMD
Method · 0.45
Tested by
no test coverage detected