Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/drawvolume.c
| Context not available. | |||||
| float plane_dist = min_dist; | float plane_dist = min_dist; | ||||
| float plane_dist_inc = (max_dist - min_dist) / (float)num_slices; | float plane_dist_inc = (max_dist - min_dist) / (float)num_slices; | ||||
| /* for all egdes */ | /* for all edges */ | ||||
| for (int i = 0; i < 12; i++) { | for (int i = 0; i < 12; i++) { | ||||
| copy_v3_v3(vec_start[i], vertices[edges[edge_list[max_index][i]][0]]); | copy_v3_v3(vec_start[i], vertices[edges[edge_list[max_index][i]][0]]); | ||||
| copy_v3_v3(vec_dir[i], vertices[edges[edge_list[max_index][i]][1]]); | copy_v3_v3(vec_dir[i], vertices[edges[edge_list[max_index][i]][1]]); | ||||
| Context not available. | |||||