MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ union_bounds() [1/2]

std::function< bool(glm::vec2)> MayaFlux::Kinesis::union_bounds ( std::function< bool(glm::vec2)>  a,
std::function< bool(glm::vec2)>  b 
)
inline

Union of two containment tests.

Point is inside if either returns true.

Definition at line 442 of file Bounds.hpp.

445{
446 return [a = std::move(a), b = std::move(b)](glm::vec2 p) {
447 return a(p) || b(p);
448 };
449}
size_t a
size_t b

References a, and b.