dsfml ~master (2017-10-11T01:10:36Z)
Home
Dub
Repo
Vector2.opBinary
dsfml
system
vector2
Vector2
Multiply/Divide a vector with a numaric value.
Vector2
!(
T
)
opBinary
(
Vector2
!(
E
)
otherVector
)
Vector2
!(
T
)
opBinary
(
E
num
)
struct
Vector2
(T)
Vector2
!(
T
)
opBinary
const
(
string
op
E
)
(
E
num
)
if
(
isNumeric
!(
E
) &&
(
(
op
== "*"
)
||
(
op
== "/"
)
)
)
if
(
isNumeric
!(
T
) ||
is
(
T
==
bool
)
)
Meta
Source
See Implementation
dsfml
system
vector2
Vector2
constructors
this
functions
opAssign
opBinary
opEquals
opOpAssign
opUnary
toString
variables
x
y
Multiply/Divide a vector with a numaric value.