nudsfml v0.0.10-alpha (2023-02-09T04:48:03Z)
Dub
Repo
Vector2.opBinary
nudsfml
system
vector2
Vector2
Add/Subtract between two vector2's.
Vector2
!(
T
)
opBinary
(Vector2!(E) otherVector)
struct
Vector2
(T)
const
Vector2
!(
T
)
opBinary
(
string
op
E
)
(
Vector2
!(
E
)
otherVector
)
if
(
isNumeric
!(
E
) &&
(
(
op
== "+"
)
||
(
op
== "-"
)
)
)
if
(
isNumeric
!(
T
) ||
is
(
T
==
bool
)
)
Vector2
!(
T
)
opBinary
(E num)
Meta
Source
See Implementation
nudsfml
system
vector2
Vector2
constructors
this
functions
opAssign
opBinary
opEquals
opOpAssign
opUnary
toString
variables
x
y
Add/Subtract between two vector2's.