The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Angle.opBinary
arsd
color
Angle
The +, -, +=, and -= operators all work on the angles too.
Angle
opBinary
(Angle rhs)
Angle
opBinary
(Angle rhs)
struct
Angle
pure @
nogc
nothrow @
safe
const
Angle
opBinary
(
string
op
: "-"
)
(
const
Angle
rhs
)
Meta
Source
See Implementation
arsd
color
Angle
functions
degrees
opBinary
opOpAssign
radians
The +, -, +=, and -= operators all work on the angles too.