Angle.opBinary

binary operator between float ("*" and "/" only)

  1. Angle opBinary(float v)
    struct Angle
    const
    opBinary
    (
    string op
    )
    (
    float v
    )
    if (
    op == "*" ||
    op == "/"
    )
  2. Angle opBinary(Angle a)

Parameters

v float

operation target value

Return Value

Type: Angle

calculated angle struct

Meta