dsfml ~master (2017-10-11T01:10:36Z)
Home
Dub
Repo
Vector2.this
dsfml
system
vector2
Vector2
Construct the vector from its coordinates.
this
(
T
X
,
T
Y
)
struct
Vector2
(T)
this
(
T
X
,
T
Y
)
if
(
isNumeric
!(
T
) ||
is
(
T
==
bool
)
)
this
(
Vector2
!(
E
)
otherVector
)
Parameters
X
Type:
T
X coordinate
Y
Type:
T
Y coordinate
Meta
Source
See Implementation
dsfml
system
vector2
Vector2
constructors
this
functions
opAssign
opBinary
opEquals
opOpAssign
opUnary
toString
variables
x
y
Construct the vector from its coordinates.