Blender V4.3
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 */
15extern const int marching_cubes_numtri[TOTCONF];
16
17/* table of triangles in each configuration */
18extern const int marching_cubes_tris[TOTCONF][MAX_TRIS][3];
19
20#endif
const int marching_cubes_tris[TOTCONF][MAX_TRIS][3]
#define TOTCONF
const int marching_cubes_numtri[TOTCONF]
#define MAX_TRIS