Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_curve_types.h
| Show All 13 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #define MAXTEXTBOX 256 /* used in readfile.c and editfont.c */ | #define MAXTEXTBOX 256 /* used in readfile.c and editfont.c */ | ||||
| struct AnimData; | struct AnimData; | ||||
| struct CurveEval; | struct Curves; | ||||
| struct CurveProfile; | struct CurveProfile; | ||||
| struct EditFont; | struct EditFont; | ||||
| struct GHash; | struct GHash; | ||||
| struct Ipo; | struct Ipo; | ||||
| struct Key; | struct Key; | ||||
| struct Material; | struct Material; | ||||
| struct Object; | struct Object; | ||||
| struct VFont; | struct VFont; | ||||
| ▲ Show 20 Lines • Show All 255 Lines • ▼ Show 20 Lines | typedef struct Curve { | ||||
| /** | /** | ||||
| * A pointer to curve data from evaluation. Owned by the object's #geometry_set_eval, either as a | * A pointer to curve data from evaluation. Owned by the object's #geometry_set_eval, either as a | ||||
| * geometry instance or the data of the evaluated #CurveComponent. The curve may also contain | * geometry instance or the data of the evaluated #CurveComponent. The curve may also contain | ||||
| * data in the #nurb list, but for evaluated curves this is the proper place to retrieve data, | * data in the #nurb list, but for evaluated curves this is the proper place to retrieve data, | ||||
| * since it also contains the result of geometry nodes evaluation, and isn't just a copy of the | * since it also contains the result of geometry nodes evaluation, and isn't just a copy of the | ||||
| * original object data. | * original object data. | ||||
| */ | */ | ||||
| struct CurveEval *curve_eval; | const struct Curves *curve_eval; | ||||
| void *batch_cache; | void *batch_cache; | ||||
| } Curve; | } Curve; | ||||
| #define CURVE_VFONT_ANY(cu) ((cu)->vfont), ((cu)->vfontb), ((cu)->vfonti), ((cu)->vfontbi) | #define CURVE_VFONT_ANY(cu) ((cu)->vfont), ((cu)->vfontb), ((cu)->vfonti), ((cu)->vfontbi) | ||||
| /* **************** CURVE ********************* */ | /* **************** CURVE ********************* */ | ||||
| ▲ Show 20 Lines • Show All 297 Lines • Show Last 20 Lines | |||||