Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/subdiv_ccg.c
| Context not available. | |||||
| /* Nothing to average with. */ | /* Nothing to average with. */ | ||||
| return; | return; | ||||
| } | } | ||||
| /* Incrementall average result to elements of a first adjacent face. | /* Incremental average result to elements of a first adjacent face. | ||||
| * | * | ||||
| * Arguably, this is less precise than accumulating and then diving once, | * Arguably, this is less precise than accumulating and then diving once, | ||||
| * but on another hand this is more stable when coordinates are big. | * but on another hand this is more stable when coordinates are big. | ||||
| Context not available. | |||||
| /* Nothing to average with. */ | /* Nothing to average with. */ | ||||
| return; | return; | ||||
| } | } | ||||
| /* Incrementall average result to elements of a first adjacent face. | /* Incremental average result to elements of a first adjacent face. | ||||
| * See comment to the boundary averaging. | * See comment to the boundary averaging. | ||||
| */ | */ | ||||
| for (int face_index = 1; face_index < num_adjacent_faces; face_index++) { | for (int face_index = 1; face_index < num_adjacent_faces; face_index++) { | ||||
| Context not available. | |||||