Blender
V2.93
intern
dualcon
intern
marching_cubes_table.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*/
16
17
#ifndef __MARCHING_CUBES_TABLE_H__
18
#define __MARCHING_CUBES_TABLE_H__
19
20
/* number of configurations */
21
#define TOTCONF 256
22
23
/* maximum number of triangles per configuration */
24
#define MAX_TRIS 10
25
26
/* number of triangles in each configuration */
27
extern
const
int
marching_cubes_numtri
[
TOTCONF
];
28
29
/* table of triangles in each configuration */
30
extern
const
int
marching_cubes_tris
[
TOTCONF
][
MAX_TRIS
][3];
31
32
#endif
marching_cubes_tris
const int marching_cubes_tris[TOTCONF][MAX_TRIS][3]
Definition:
marching_cubes_table.cpp:32
TOTCONF
#define TOTCONF
Definition:
marching_cubes_table.h:21
marching_cubes_numtri
const int marching_cubes_numtri[TOTCONF]
Definition:
marching_cubes_table.cpp:20
MAX_TRIS
#define MAX_TRIS
Definition:
marching_cubes_table.h:24
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1