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

◆ in_bounds()

bool MayaFlux::Kinesis::Lattice2D::in_bounds ( const glm::uvec2 &  c) const
inlinenoexcept

Whether a cell coordinate lies inside the lattice.

Parameters
cCell coordinate.

Definition at line 160 of file Lattice.hpp.

161 {
162 return c.x < resolution.x && c.y < resolution.y;
163 }
glm::uvec2 resolution
Cell count per axis. Zero on either axis is invalid.
Definition Lattice.hpp:126

References resolution.