Blender
V4.3
intern
dualcon
intern
marching_cubes_table.h
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2002-2022 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#ifndef __MARCHING_CUBES_TABLE_H__
6
#define __MARCHING_CUBES_TABLE_H__
7
8
/* number of configurations */
9
#define TOTCONF 256
10
11
/* maximum number of triangles per configuration */
12
#define MAX_TRIS 10
13
14
/* number of triangles in each configuration */
15
extern
const
int
marching_cubes_numtri
[
TOTCONF
];
16
17
/* table of triangles in each configuration */
18
extern
const
int
marching_cubes_tris
[
TOTCONF
][
MAX_TRIS
][3];
19
20
#endif
marching_cubes_tris
const int marching_cubes_tris[TOTCONF][MAX_TRIS][3]
Definition
marching_cubes_table.cpp:20
TOTCONF
#define TOTCONF
Definition
marching_cubes_table.h:9
marching_cubes_numtri
const int marching_cubes_numtri[TOTCONF]
Definition
marching_cubes_table.cpp:8
MAX_TRIS
#define MAX_TRIS
Definition
marching_cubes_table.h:12
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0