Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_curves.c
| Show All 32 Lines | const EnumPropertyItem rna_enum_curve_normal_modes[] = { | ||||
| "Minimum Twist", | "Minimum Twist", | ||||
| "Calculate normals with the smallest twist around the curve tangent across the whole curve"}, | "Calculate normals with the smallest twist around the curve tangent across the whole curve"}, | ||||
| {NORMAL_MODE_Z_UP, | {NORMAL_MODE_Z_UP, | ||||
| "Z_UP", | "Z_UP", | ||||
| ICON_NONE, | ICON_NONE, | ||||
| "Z Up", | "Z Up", | ||||
| "Calculate normals perpendicular to the Z axis and the curve tangent. If a series of points " | "Calculate normals perpendicular to the Z axis and the curve tangent. If a series of points " | ||||
| "is vertical, the X axis is used"}, | "is vertical, the X axis is used"}, | ||||
| {NORMAL_MODE_CURVATURE_VECTOR, | |||||
| "CURVATURE_VECTOR", | |||||
| ICON_NONE, | |||||
| "Curvature Vector", | |||||
| "Calculate normals that are linearly interpolated between minimal twist normals and local " | |||||
| "curvature vectors."}, | |||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| #ifdef RNA_RUNTIME | #ifdef RNA_RUNTIME | ||||
| # include "BLI_math_vector.h" | # include "BLI_math_vector.h" | ||||
| # include "BKE_attribute.h" | # include "BKE_attribute.h" | ||||
| ▲ Show 20 Lines • Show All 383 Lines • Show Last 20 Lines | |||||