Skip to content

LiteFX::Math::Vector::Vector

Initializes a vector where all elements take the value provided by val.

Synopsis

Declared in <litefx/vector.hpp>

constexpr Vector(T val) noexcept;

Parameters

NameDescription
valThe value to initialize all elements of the vector with.