Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ lengthSquared
Method
lengthSquared
core/math/Vec4.cpp:183–186 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
181
}
182
183
float Vec4::lengthSquared() const
184
{
185
return (x * x + y * y + z * z + w * w);
186
}
187
188
void Vec4::normalize()
189
{
Callers
10
update
Method · 0.80
createBillboardHelper
Method · 0.80
onTouchesMoved
Method · 0.80
onTouchesMoved
Method · 0.80
getRotationTo
Method · 0.80
perpendicular
Method · 0.80
updatePUAffector
Method · 0.80
updateTrail
Method · 0.80
intersects
Method · 0.80
merge
Method · 0.80
Calls
no outgoing calls
Tested by
2
onTouchesMoved
Method · 0.64
onTouchesMoved
Method · 0.64