MayaFlux
0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
index()
size_t MayaFlux::Kinesis::Lattice3D::index
(
const glm::uvec3 &
c
)
const
inline
noexcept
Linear index of a cell, x-major.
Parameters
c
Cell coordinate. Not bounds-checked.
Definition at line
52
of file
Lattice.hpp
.
53
{
54
return
(
static_cast<
size_t
>
(c.z) *
resolution
.y + c.y) *
resolution
.x + c.x;
55
}
MayaFlux::Kinesis::Lattice3D::resolution
glm::uvec3 resolution
Cell count per axis. Zero on any axis is invalid.
Definition
Lattice.hpp:26
References
resolution
.
MayaFlux
Kinesis
Lattice3D
Generated by
1.9.8