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

Method mul

src/main/java/field/linalg/Vec4.java:687–693  ·  view source on GitHub ↗

Multiply this Vec4 component-wise by the given Vec4 and store the result in dest . @param v the vector to multiply this by @param dest will hold the result @return dest

(Vec4 v, Vec4 dest)

Source from the content-addressed store, hash-verified

685 * @param dest will hold the result
686 * @return dest
687 */
688 public Vec4 mul(Vec4 v, Vec4 dest) {
689 dest.x = x * v.x;
690 dest.y = y * v.y;
691 dest.z = z * v.z;
692 dest.w = w * v.w;
693 return dest;
694 }
695
696 /**

Callers 3

__rsub__Method · 0.95
__mul__Method · 0.95
__rmul__Method · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected