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

Method multiply

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

Performs scalar multiplication, multiplying all components with a scalar. Not world-aware. @param m The factor @return the same location @see Vector

(double m)

Source from the content-addressed store, hash-verified

512 * @see Vector
513 */
514 @NotNull
515 public Location multiply(double m) {
516 x *= m;
517 y *= m;
518 z *= m;
519 return this;
520 }
521
522 /**
523 * Zero this location's components. Not world-aware.

Callers 1

parseRotationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected