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

◆ intersect_bounds() [1/2]

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

Intersection of two containment tests.

Point is inside only if both return true.

Definition at line 455 of file Bounds.hpp.

458{
459 return [a = std::move(a), b = std::move(b)](glm::vec2 p) {
460 return a(p) && b(p);
461 };
462}
size_t a
size_t b

References a, and b.