extract explicit mesh with topology information from implicit surfaces with boolean operations, and do surface/volume integrating on them.
 
 
 

10 lines
248 B

#pragma once
#include <stdint.h>
// almost same as node_t, but has parent's and children's pointers to indicate
// the hierarchy, and it is outside of the tree
typedef struct {
uint32_t main_index;
uint32_t inner_index;
} virtual_node_t;