extract explicit mesh with topology information from implicit surfaces with boolean operations, and do surface/volume integrating on them.
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.

15 lines
489 B

#pragma once
#include <stdint.h>
#include <macros.h>
#include <blobtree.h>
typedef struct sSetting {
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
} setting_descriptor;
EXTERN_C API void update_setting(const setting_descriptor desc);
// apply updated settings to the environment
EXTERN_C API void update_environment(const virtual_node_t* tree_node);