Luna::Float3

3D vector type with f32 components.

struct Luna::Float3

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 m[3]

    The array of components.

Member functions