LiteFX::Math::Vector::Vector¶
Initializes a 2D vector using the values provided by x and y.
Synopsis¶
Declared in <litefx/vector.hpp>
constexpr Vector(
T x,
T y) noexcept
requires (DIM == 2);
Parameters¶
| Name | Description |
|---|---|
| x | The value to initialize the x-component of the vector with. |
| y | The value to initialize the y-component of the vector with. |