Vector3.opBinary

Multiply/Divide a Vector3 with a numaric value.

  1. Vector3!(T) opBinary(Vector3!(E) otherVector)
  2. Vector3!(T) opBinary(E num)
    struct Vector3(T)
    const
    opBinary
    (
    string op
    E
    )
    (
    E num
    )
    if (
    isNumeric!(E) &&
    (
    (op == "*") ||
    (op == "/")
    )
    )
    if (
    isNumeric!(T) ||
    is(T == bool)
    )

Meta