MCPcopy Create free account
hub / github.com/anjo76/angelscript / length

Method length

sdk/tests/test_feature/source/scriptmath3d.cpp:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86float Vector3::length() const
87{
88 return sqrtf(x*x + y*y + z*z);
89}
90
91Vector3 operator+(const Vector3 &a, const Vector3 &b)
92{

Callers 15

GetRawStringDataMethod · 0.45
StringLengthGenericFunction · 0.45
GetRawStringDataMethod · 0.45
GetRawStringDataMethod · 0.45
ToStringMethod · 0.45
ToStringMethod · 0.45
StringToStringFunction · 0.45
DumpObjectTypeFunction · 0.45
StringSplit_GenericFunction · 0.45
operator+Function · 0.45
GetRawStringDataMethod · 0.45
GetRawStringDataMethod · 0.45

Calls 1

sqrtfFunction · 0.70

Tested by

no test coverage detected