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

◆ in_bounds()

bool MayaFlux::Kinesis::Lattice3D::in_bounds ( const glm::uvec3 &  c) const
inlinenoexcept

Whether a cell coordinate lies inside the lattice.

Parameters
cCell coordinate.

Definition at line 61 of file Lattice.hpp.

62 {
63 return c.x < resolution.x && c.y < resolution.y && c.z < resolution.z;
64 }
glm::uvec3 resolution
Cell count per axis. Zero on any axis is invalid.
Definition Lattice.hpp:26

References resolution.