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