Blender  V3.3
marching_cubes_table.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef __MARCHING_CUBES_TABLE_H__
4 #define __MARCHING_CUBES_TABLE_H__
5 
6 /* number of configurations */
7 #define TOTCONF 256
8 
9 /* maximum number of triangles per configuration */
10 #define MAX_TRIS 10
11 
12 /* number of triangles in each configuration */
13 extern const int marching_cubes_numtri[TOTCONF];
14 
15 /* table of triangles in each configuration */
16 extern const int marching_cubes_tris[TOTCONF][MAX_TRIS][3];
17 
18 #endif
const int marching_cubes_tris[TOTCONF][MAX_TRIS][3]
#define TOTCONF
const int marching_cubes_numtri[TOTCONF]
#define MAX_TRIS