Luna::Float2::Float2

constexpr Float2(f32 x, f32 y)

Constructs one vector from values.

Parameters

  • in x

    The value of the first component.

  • in y

    The value of the second component.