28 m_cosine_cutoff = {std::cos(m_cutoff.
x()), std::cos(m_cutoff.
y())};
31 void spot_light::transformed()
constexpr const transform_type & get_transform() const noexcept
Returns the transform of the object.
void set_cutoff(const math::fvec2 &cutoff)
Sets the spot light cutoff angles.
constexpr element_type & x() noexcept
Returns a reference to the first element.
constexpr element_type & y() noexcept
Returns a reference to the second element.