dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Vector2.opBinary
Dgame
Math
Vector2
Vector2
Supported operation: +, -, *, / and %
Vector2
!(
T
)
opBinary
(
const
Vector2
!(
T
)
vec
)
struct
Vector2
(T)
@
nogc
Vector2
!(
T
)
opBinary
const pure nothrow
(
string
op
)
(
const
Vector2
!(
T
)
vec
)
if
(
isNumeric
!(
T
)
)
Vector2
!(
T
)
opBinary
(
float
num
)
Meta
Source
See Implementation
Dgame
Math
Vector2
Vector2
aliases
dot
constructors
this
functions
angle
diff
isEmpty
normalize
opBinary
opEquals
opNeg
opOpAssign
scalar
properties
length
variables
x
y
Supported operation: +, -, *, / and %