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

◆ set_bounds()

void MayaFlux::Buffers::ComputeMeshBuffer::set_bounds ( const glm::vec3 &  bounds_min,
const glm::vec3 &  bounds_max 
)

Replace the evaluation volume and mark dirty.

Definition at line 167 of file ComputeMeshBuffer.cpp.

168{
169 if (m_sdf_processor) {
170 m_sdf_processor->set_bounds(bounds_min, bounds_max);
171 } else {
172 m_bounds_min = bounds_min;
173 m_bounds_max = bounds_max;
174 }
175 if (m_field_processor) {
176 m_field_processor->set_bounds(bounds_min, bounds_max);
177 }
178}
std::shared_ptr< SDFMeshProcessor > m_sdf_processor
std::shared_ptr< SDFFieldProcessor > m_field_processor

References m_bounds_max, m_bounds_min, m_field_processor, and m_sdf_processor.