#pragma once #include #include typedef struct { uint32_t resolution; // will split the background mesh into (resolution + 1)^3 grids double scene_aabb_margin; // margin to add to the scene AABB to avoid artifacts uint8_t integrand_density; // the count of points used for integrand on every 1D line bool restricted_primitive_bounding_test; // use intertwined AABB/OBB test for primitive bounding test (unused for now) } s_settings;