Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
32 lines
682 B
C++
32 lines
682 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup DNA
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* Struct members on own line. */
|
|
/* clang-format off */
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
/** \name Mesh Struct
|
|
* \{ */
|
|
|
|
#define _DNA_DEFAULT_Mesh \
|
|
{ \
|
|
.size = {1.0f, 1.0f, 1.0f}, \
|
|
.smoothresh = DEG2RADF(30), \
|
|
.texflag = ME_AUTOSPACE, \
|
|
.remesh_voxel_size = 0.1f, \
|
|
.remesh_voxel_adaptivity = 0.0f, \
|
|
.face_sets_color_seed = 0, \
|
|
.face_sets_color_default = 1, \
|
|
.flag = ME_REMESH_FIX_POLES | ME_REMESH_REPROJECT_VOLUME, \
|
|
.editflag = ME_EDIT_MIRROR_VERTEX_GROUPS \
|
|
}
|
|
|
|
/** \} */
|
|
|
|
/* clang-format on */
|