Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_gpencil_types.h
| Context not available. | |||||
| } eGPSPoint_Flag; | } eGPSPoint_Flag; | ||||
| /* ***************************************** */ | /* ***************************************** */ | ||||
| /* GP Fill - Triangle Tesselation Data */ | /* GP Fill - Triangle Tessellation Data */ | ||||
| /* Grease-Pencil Annotations - 'Triangle' | /* Grease-Pencil Annotations - 'Triangle' | ||||
| * -> A triangle contains the index of three vertices for filling the stroke | * -> A triangle contains the index of three vertices for filling the stroke | ||||
| * This is only used if high quality fill is enabled | * This is only used if high quality fill is enabled | ||||
| */ | */ | ||||
| typedef struct bGPDtriangle { | typedef struct bGPDtriangle { | ||||
| /* indices for tesselated triangle used for GP Fill */ | /* indices for tessellated triangle used for GP Fill */ | ||||
| unsigned int verts[3]; | unsigned int verts[3]; | ||||
| /* texture coordinates for verts */ | /* texture coordinates for verts */ | ||||
| float uv[3][2]; | float uv[3][2]; | ||||
| Context not available. | |||||
| struct bGPDstroke *next, *prev; | struct bGPDstroke *next, *prev; | ||||
| bGPDspoint *points; /* array of data-points for stroke */ | bGPDspoint *points; /* array of data-points for stroke */ | ||||
| bGPDtriangle *triangles;/* tesselated triangles for GP Fill */ | bGPDtriangle *triangles;/* tessellated triangles for GP Fill */ | ||||
| int totpoints; /* number of data-points in array */ | int totpoints; /* number of data-points in array */ | ||||
| int tot_triangles; /* number of triangles in array */ | int tot_triangles; /* number of triangles in array */ | ||||
| Context not available. | |||||