MCPcopy Create free account
hub / github.com/beefytech/Beef / GetMagnitude

Method GetMagnitude

BeefySysLib/util/Vector.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21float Vector3::GetMagnitude() const
22{
23 return sqrtf(mX*mX + mY*mY + mZ*mZ);
24}
25
26float Vector3::GetMagnitudeSquare() const
27{

Callers 5

operator^Method · 0.95
RayIntersectsAABBMethod · 0.80
SphereMethod · 0.80
NormalizeMethod · 0.80
GetDistanceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected