Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/mask_rasterize.c
| Show First 20 Lines • Show All 931 Lines • ▼ Show 20 Lines | #undef CALC_CAP_RESOL | ||||
| unsigned int face_index; | unsigned int face_index; | ||||
| int scanfill_flag = 0; | int scanfill_flag = 0; | ||||
| bool is_isect = false; | bool is_isect = false; | ||||
| ListBase isect_remvertbase = {NULL, NULL}; | ListBase isect_remvertbase = {NULL, NULL}; | ||||
| ListBase isect_remedgebase = {NULL, NULL}; | ListBase isect_remedgebase = {NULL, NULL}; | ||||
| /* now we have all the splines */ | /* now we have all the splines */ | ||||
| face_coords = MEM_mallocN((sizeof(float[3])) * sf_vert_tot, "maskrast_face_coords"); | face_coords = MEM_mallocN(sizeof(float[3]) * sf_vert_tot, "maskrast_face_coords"); | ||||
| /* init bounds */ | /* init bounds */ | ||||
| BLI_rctf_init_minmax(&bounds); | BLI_rctf_init_minmax(&bounds); | ||||
| /* coords */ | /* coords */ | ||||
| cos = (float *)face_coords; | cos = (float *)face_coords; | ||||
| for (sf_vert = sf_ctx.fillvertbase.first; sf_vert; sf_vert = sf_vert_next) { | for (sf_vert = sf_ctx.fillvertbase.first; sf_vert; sf_vert = sf_vert_next) { | ||||
| sf_vert_next = sf_vert->next; | sf_vert_next = sf_vert->next; | ||||
| ▲ Show 20 Lines • Show All 555 Lines • Show Last 20 Lines | |||||