MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / scale

Method scale

src/main/java/field/linalg/Vec3.java:890–892  ·  view source on GitHub ↗

Multiply this Vec3 by the given scalar value. @param scalar the scalar to multiply this vector by @return this

(double scalar)

Source from the content-addressed store, hash-verified

888 * @return this
889 */
890 public Vec3 scale(double scalar) {
891 return mul(scalar);
892 }
893
894 /**
895 * Multiply this Vec3 by the given scalar value and store the result in <code>dest</code>.

Callers 1

applyDragMethod · 0.95

Calls 1

mulMethod · 0.95

Tested by

no test coverage detected