Skip to content

LiteFX::Math::Vector::Vector

Initializes a 3D vector using the values provided by x, y and z.

Synopsis

Declared in <litefx/vector.hpp>

constexpr Vector(
    T x,
    T y,
    T z) noexcept
requires (DIM == 3);

Parameters

NameDescription
xThe value to initialize the x-component of the vector with.
yThe value to initialize the y-component of the vector with.
zThe value to initialize the z-component of the vector with.