GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::raycastable_shape Concept Reference

Concept that checks if a given type is a raycastable shape type. More...

#include <GREM/core/geometry.hpp>

Concept definition

template<typename T>
{ t.contains(point) } -> convertible_to<bool>;
{ t.intersects(ray) } -> convertible_to<bool>;
}
Definition concepts.hpp:47
Concept that checks if a given type is a raycastable shape type.
Definition geometry.hpp:1551
vec< N, T > Point
Generic point in N-dimensional space.
Definition geometry.hpp:29
Generic ray with an origin and direction in N-dimensional space.
Definition geometry.hpp:47

Detailed Description

Concept that checks if a given type is a raycastable shape type.

Template Parameters
Tthe type to check.