nudsfml v0.0.10-alpha (2023-02-09T04:48:03Z)
Dub
Repo
Vector2.this
nudsfml
system
vector2
Vector2
Construct the vector from another type of vector.
this
(T X, T Y)
this
(Vector2!(E) otherVector)
struct
Vector2
(T)
this
(
E
)
(
Vector2
!(
E
)
otherVector
)
if
(
isNumeric
!(
T
) ||
is
(
T
==
bool
)
)
Parameters
otherVector
Vector2
!(
E
)
Vector to convert
Meta
Source
See Implementation
nudsfml
system
vector2
Vector2
constructors
this
functions
opAssign
opBinary
opEquals
opOpAssign
opUnary
toString
variables
x
y
Construct the vector from another type of vector.