11#include "../SIMD/module.hpp"
12#include "../macros.hpp"
32 sfloat_rgb32(f32x4
const &rhs) noexcept : v{rhs.r(), rhs.g(), rhs.b()} {}
36 v = {rhs.r(), rhs.g(), rhs.b()};
40 operator f32x4()
const noexcept
42 return f32x4{std::get<0>(v), std::get<1>(v), std::get<2>(v), 0.0f};
49 return *
this =
static_cast<f32x4
>(rhs);
52 operator point3()
const noexcept
54 return point3{f32x4{*
this}};
DOXYGEN BUG.
Definition algorithm.hpp:16
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377
A high-level geometric point Part of the high-level vec, point, mat and color types.
Definition point3.hpp:27
3 x float32 pixel format.
Definition sfloat_rgb32.hpp:21