You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
537 B
11 lines
537 B
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
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;
|