#pragma once
#include
#include
namespace internal
{
struct sphere_t final : primitive {
primitive_type get_type() const override { return PRIMITIVE_TYPE_SPHERE; };
span> get_subfaces() const override
{
return {const_cast *>(&sphere_face), 1};
}
stl_vector_mp get_subface_types() const override { return {surface_type::sphere}; }
stl_vector_mp get_subface_init_model_matrices() const override
{
return {identity_model_matrix_ptr};
}
marked_subface_ptr_t sphere_face{};
};
} // namespace internal