Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_curves_types.h
| Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | |||||
| typedef enum NormalMode { | typedef enum NormalMode { | ||||
| /** 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_MINIMUM_TWIST = 0, | NORMAL_MODE_MINIMUM_TWIST = 0, | ||||
| /** | /** | ||||
| * 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_Z_UP = 1, | NORMAL_MODE_Z_UP = 1, | ||||
| NORMAL_MODE_CURVATURE_VECTOR = 2, | |||||
| } NormalMode; | } NormalMode; | ||||
| /** | /** | ||||
| * A reusable data structure for geometry consisting of many curves. All control point data is | * A reusable data structure for geometry consisting of many curves. All control point data is | ||||
| * stored contiguously for better efficiency when there are many curves. Multiple curve types are | * stored contiguously for better efficiency when there are many curves. Multiple curve types are | ||||
| * supported, as described in #CurveType. Data for each curve is accessed by slicing the main | * supported, as described in #CurveType. Data for each curve is accessed by slicing the main | ||||
| * #point_data arrays. | * #point_data arrays. | ||||
| * | * | ||||
| ▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines | |||||