void visit(FaceInstance& face) const { if(face.isSelected(SelectionSystem::eFace)) { m_visitor.visit(face.getFace()); } }
void operator()(FaceInstance& face) const { if(shader_equal(face.getFace().getShader(), m_name)) { face.setSelected(SelectionSystem::eFace, true); } }
void FaceInstance_pasteTexture(FaceInstance& faceInstance) { faceInstance.getFace().SetTexdef(g_faceTextureClipboard.m_projection); faceInstance.getFace().SetShader(TextureBrowser_GetSelectedShader(g_TextureBrowser)); faceInstance.getFace().SetFlags(g_faceTextureClipboard.m_flags); SceneChangeNotify(); }
void operator() (FaceInstance& faceInstance) { // Get the winding const Winding& winding = faceInstance.getFace().getWinding(); // For now, only windings with four edges are supported if (winding.size() == 4) { _faceInstances.push_back(&faceInstance); } else { _unsuitableWindings++; } }
void operator() (FaceInstance& faceInstance) { _vector.push_back(&faceInstance.getFace()); }
void operator()(FaceInstance& faceInstance) { m_visitor.visit(faceInstance.getFace()); }
void visit(FaceInstance& face) const { m_visitor.visit(face.getFace()); }