Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ length
Method
length
core/math/Vec4.cpp:178–181 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
176
}
177
178
float Vec4::length() const
179
{
180
return std::sqrt(x * x + y * y + z * z + w * w);
181
}
182
183
float Vec4::lengthSquared() const
184
{
Callers
1
decompose
Method · 0.45
Calls
1
sqrt
Function · 0.50
Tested by
no test coverage detected