"Own" (the adjective) cannot be used on its own. It should be combined with something like "its own", "our own", "her own", or "the object's own". It also isn't used separately to mean something like "separate". Also, "its own" is correct instead of "it's own" which is a misues of the verb.
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup DNA
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* clang-format off */
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
/** \name Curve Struct
|
|
* \{ */
|
|
|
|
#define _DNA_DEFAULT_Curve \
|
|
{ \
|
|
.texspace_size = {1, 1, 1}, \
|
|
.flag = CU_DEFORM_BOUNDS_OFF | CU_PATH_RADIUS, \
|
|
.pathlen = 100, \
|
|
.resolu = 12, \
|
|
.resolv = 12, \
|
|
.offset = 0.0, \
|
|
.wordspace = 1.0, \
|
|
.spacing = 1.0f, \
|
|
.linedist = 1.0, \
|
|
.fsize = 1.0, \
|
|
.ulheight = 0.05, \
|
|
.texspace_flag = CU_TEXSPACE_FLAG_AUTO, \
|
|
.smallcaps_scale = 0.75f, \
|
|
/* This one seems to be the best one in most cases, at least for curve deform. */ \
|
|
.twist_mode = CU_TWIST_MINIMUM, \
|
|
.bevfac1 = 0.0f, \
|
|
.bevfac2 = 1.0f, \
|
|
.bevfac1_mapping = CU_BEVFAC_MAP_RESOLU, \
|
|
.bevfac2_mapping = CU_BEVFAC_MAP_RESOLU, \
|
|
.bevresol = 4, \
|
|
.bevel_mode = CU_BEV_MODE_ROUND, \
|
|
.taper_radius_mode = CU_TAPER_RADIUS_OVERRIDE, \
|
|
}
|
|
|
|
/** \} */
|
|
|
|
/* clang-format on */
|