Vector2.this

Construct the vector from another type of vector.

  1. this(T X, T Y)
  2. this(Vector2!(E) otherVector)
    struct Vector2(T)
    this
    (
    E
    )
    if (
    isNumeric!(T) ||
    is(T == bool)
    )

Parameters

otherVector
Type: Vector2!(E)

Vector to convert

Meta