MCPcopy Create free account
hub / github.com/Teneted/Tenet / lengthSquared

Method lengthSquared

src/main/java/org/bukkit/Location.java:466–468  ·  view source on GitHub ↗

Gets the magnitude of the location squared. Not world-aware and orientation independent. @return the magnitude @see Vector

()

Source from the content-addressed store, hash-verified

464 * @see Vector
465 */
466 public double lengthSquared() {
467 return NumberConversions.square(x) + NumberConversions.square(y) + NumberConversions.square(z);
468 }
469
470 /**
471 * Get the distance between this location and another. The value of this

Callers

nothing calls this directly

Calls 1

squareMethod · 0.95

Tested by

no test coverage detected