源代碼:
for (MyMesh::FaceIter f_it = mesh.faces_begin(); f_it != mesh.faces_end(); ++f_it) {
glBegin(GL_TRIANGLES);
for (MyMesh::FaceVertexIter fv_it = mesh.fv_iter(*f_it); fv_it.is_valid(); ++fv_it) {
glNormal3fv(mesh.normal(*fv_it).data());
glVertex3fv(mesh.point(*fv_it).data());
//glVertex3f(mesh.point(*fv_it)[0], mesh.point(*fv_it)[1], mesh.point(*fv_it)[2]);
}
glEnd();
}
VS2013編譯openmesh檔案出現如下錯誤:is_valid()不是openmesh::Iterators::FaceVertexIterT<OpenMesh::PolyConnectivity::This>的成員 請問該如何解決
uj5u.com熱心網友回復:
這個似乎是那個庫里面的東西,沒有配置正確轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/102533.html
標籤:圖形處理/算法
