MCPcopy 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
178float Vec4::length() const
179{
180 return std::sqrt(x * x + y * y + z * z + w * w);
181}
182
183float Vec4::lengthSquared() const
184{

Callers 1

decomposeMethod · 0.45

Calls 1

sqrtFunction · 0.50

Tested by

no test coverage detected