Changeset View
Changeset View
Standalone View
Standalone View
source/blender/freestyle/intern/view_map/CulledOccluderSource.cpp
| Context not available. | |||||
| GridHelpers::getDefaultViewProscenium(occluderProscenium); | GridHelpers::getDefaultViewProscenium(occluderProscenium); | ||||
| // XXX Freestyle is inconsistent in its use of ViewMap::viewedges_container and | // XXX Freestyle is inconsistent in its use of ViewMap::viewedges_container and | ||||
| // vector<ViewEdge*>::iterator. Probably all occurences of vector<ViewEdge*>::iterator should be | // vector<ViewEdge*>::iterator. Probably all occurrences of vector<ViewEdge*>::iterator should be | ||||
| // replaced ViewMap::viewedges_container throughout the code. For each view edge | // replaced ViewMap::viewedges_container throughout the code. For each view edge | ||||
| ViewMap::viewedges_container::iterator ve, veend; | ViewMap::viewedges_container::iterator ve, veend; | ||||
| Context not available. | |||||
| // If none exists, find the feature edge with center point closest to viewport origin. | // If none exists, find the feature edge with center point closest to viewport origin. | ||||
| // Expand occluder proscenium to enclose center point. | // Expand occluder proscenium to enclose center point. | ||||
| // For each feature edge, while bestOccluderTarget not found and view edge not visibile | // For each feature edge, while bestOccluderTarget not found and view edge not visible | ||||
| bool bestOccluderTargetFound = false; | bool bestOccluderTargetFound = false; | ||||
| FEdge *bestOccluderTarget = NULL; | FEdge *bestOccluderTarget = NULL; | ||||
| real bestOccluderDistance = 0.0; | real bestOccluderDistance = 0.0; | ||||
| Context not available. | |||||