MayaFlux
0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
index()
size_t MayaFlux::Kinesis::Lattice2D::index
(
const glm::uvec2 &
c
)
const
inline
noexcept
Linear index of a cell, x-major.
Parameters
c
Cell coordinate. Not bounds-checked.
Definition at line
151
of file
Lattice.hpp
.
152
{
153
return
static_cast<
size_t
>
(c.y) *
resolution
.x + c.x;
154
}
MayaFlux::Kinesis::Lattice2D::resolution
glm::uvec2 resolution
Cell count per axis. Zero on either axis is invalid.
Definition
Lattice.hpp:126
References
resolution
.
MayaFlux
Kinesis
Lattice2D
Generated by
1.9.8