Luna::Float2

2D vector type with f32 components.

struct Luna::Float2

This vector type is 16-bytes aligned and will use SIMD to accelerate vector calculations when possible.

Member objects

  • f32 x

    The fist component of the vector.

  • f32 y

    The second component of the vector.

  • f32 m[2]

    The array of components.

Member functions