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

◆ ndc_quadrants()

static Lattice2D MayaFlux::Kinesis::Lattice2D::ndc_quadrants ( )
inlinestaticnoexcept

Quadrant lattice over NDC space, resolution {2, 2}.

The specific case that motivated this type: NDC space split into four quadrants by sign of x and y. cell_at({0.3, -0.6}) returns {1, 0} (positive x, negative y quadrant).

Definition at line 211 of file Lattice.hpp.

212 {
213 return { .resolution = { 2U, 2U }, .bounds = { .min = glm::vec2(-1.0F), .max = glm::vec2(1.0F) } };
214 }

References resolution.