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

◆ cell_size()

glm::vec3 MayaFlux::Kinesis::Lattice3D::cell_size ( ) const
inlinenoexcept

Edge length of one cell along each axis.

Definition at line 30 of file Lattice.hpp.

31 {
32 return bounds.extent() / glm::vec3(resolution);
33 }
glm::vec3 extent() const noexcept
Definition Bounds.hpp:162
AABB3D bounds
Continuous extent subdivided.
Definition Lattice.hpp:27
glm::uvec3 resolution
Cell count per axis. Zero on any axis is invalid.
Definition Lattice.hpp:26

References bounds, MayaFlux::Kinesis::AABB3D::extent(), and resolution.

Referenced by cell_at(), cell_center(), corner_position(), MayaFlux::Buffers::RaymarchProcessor::write_lattice_params(), and MayaFlux::Buffers::VolumeFieldProcessor::write_lattice_params().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: