Shape Concept.
More...
#include <shape_concepts.h>
template<typename SHAPE, typename T>
{
shape.edge_length() } -> std::convertible_to<T>;
{
shape.edge_point_alpha(
t) } -> std::convertible_to<glm::tvec2<T>>;
{ shape.edge_point(
t) } -> std::convertible_to<glm::tvec2<T>>;
{ shape.bounding_box() } -> std::convertible_to<trec2<T>>;
{ shape.projected(
pt) } -> std::convertible_to<glm::tvec2<T>>;
}
constexpr auto bit_count
Equal to the number of bits in the type.
Shape Concept.
Definition at line 23 of file shape_concepts.h.