MCPcopy Create free account
hub / github.com/LOOHP/Limbo / length

Method length

src/main/java/com/loohp/limbo/location/Vector.java:170–172  ·  view source on GitHub ↗

Gets the magnitude of the vector, defined as sqrt(x^2+y^2+z^2). The value of this method is not cached and uses a costly square-root function, so do not repeatedly call this method to get the vector's magnitude. NaN will be returned if the inner result of the sqrt() function overflows, which will be

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

angleMethod · 0.95
normalizeMethod · 0.95
loadEntriesMethod · 0.45
loadTagsMethod · 0.45
splitStringToArgsMethod · 0.45
getIndexOfArgMethod · 0.45
shiftAfterMethod · 0.45
removeStringTagQuoteMethod · 0.45
writeFixedBitSetMethod · 0.45
executeMethod · 0.45
runMethod · 0.45

Calls 1

squareMethod · 0.95

Tested by

no test coverage detected