Luna::Float2::Float2

constexpr Float2(f32 s)

Constructs one vector from one scalar.

Parameters

  • in s

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