nudsfml v0.0.10-alpha (2023-02-09T04:48:03Z)
Dub
Repo
Vector2.this
nudsfml
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
T
X coordinate
Y
T
Y coordinate
Meta
Source
See Implementation
nudsfml
system
vector2
Vector2
constructors
this
functions
opAssign
opBinary
opEquals
opOpAssign
opUnary
toString
variables
x
y
Construct the vector from its coordinates.