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
399 B

1 year ago
#pragma once
#include "primitive_descriptor.h"
12 months ago
#include <stdint.h>
12 months ago
typedef struct {
primitive_type type;
void* desc; // Type conversion when using
12 months ago
} 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 {
12 months ago
uint32_t main_index;
uint32_t inner_index;
12 months ago
} virtual_node_t;