Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_curves.h
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| /** \file | /** \file | ||||
| * \ingroup editors | * \ingroup editors | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| struct bContext; | struct bContext; | ||||
| struct Curves; | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* -------------------------------------------------------------------- */ | |||||
| /** \name C Wrappers | |||||
| * \{ */ | |||||
| void ED_operatortypes_curves(void); | void ED_operatortypes_curves(void); | ||||
| /** | |||||
| * Return an owning pointer to an array of point normals the same size as the number of control | |||||
| * points. The normals depend on the normal mode for each curve and the "tilt" attribute and may be | |||||
JacquesLucke: `[...] and the tilt` | |||||
| * calculated for the evaluated points and sampled back to the control points. | |||||
| */ | |||||
| float (*ED_curves_point_normals_array_create(const struct Curves *curves_id))[3]; | |||||
| /** \} */ | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| # include "BKE_attribute.hh" | # include "BKE_attribute.hh" | ||||
| # include "BLI_index_mask.hh" | # include "BLI_index_mask.hh" | ||||
| ▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines | |||||
[...] and the tilt