Luna::Float4

4D vector type with f32 components.

struct Luna::Float4

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 z

    The third component of the vector.

  • f32 w

    The fourth component of the vector.

  • f32 m[4]

    The array of components.

Member functions