Luna::Float4::Float4

constexpr Float4(f32 s)

Constructs one vector from one scalar.

Parameters

  • in s

    The scalar to use. All components will be initialized to this value.