FPoint.opBinary

Binary operation overload template with scalars

  1. FPoint opBinary(FPoint other)
  2. FPoint opBinary(float scalar)
    struct FPoint
    const
    opBinary
    (
    string op
    )
    (
    float scalar
    )
    if (
    op == "*" ||
    op == "/"
    )

Meta