Blender
V3.3
intern
dualcon
intern
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
marching_cubes_tris
const int marching_cubes_tris[TOTCONF][MAX_TRIS][3]
Definition:
marching_cubes_table.cpp:18
TOTCONF
#define TOTCONF
Definition:
marching_cubes_table.h:7
marching_cubes_numtri
const int marching_cubes_numtri[TOTCONF]
Definition:
marching_cubes_table.cpp:6
MAX_TRIS
#define MAX_TRIS
Definition:
marching_cubes_table.h:10
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1