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.

16 lines
380 B

5 months ago
#pragma once
4 months ago
5 months ago
#include "primitive_descriptor.h"
typedef struct {
primitive_type type;
void* desc; // Type conversion when using
} primitive_node_t;
// 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;