MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / length

Method length

testbed/opengl-framework/src/maths/Vector2.h:154–154  ·  view source on GitHub ↗

Return the length of the vector

Source from the content-addressed store, hash-verified

152
153 // Return the length of the vector
154 float length() const { return sqrt(lengthSquared()); }
155};
156
157}

Callers 3

testLengthMethodsMethod · 0.45
testLengthMethodsMethod · 0.45

Calls

no outgoing calls

Tested by 3

testLengthMethodsMethod · 0.36
testLengthMethodsMethod · 0.36