@Taniharu wrote:
I want to use ofMesh::addVertices() but I get an error like this “error: no matching member function for call to ‘addVertices’”.
I can use ofMesh::addVertex(). Maybe a bug?
I’m using ofx0.11.0 on macOS.
Sorry in poor english.↓error code(refer from https://ayumu-nagamatsu.com/archives/579/)
void ofApp::createOctaByVboMesh(ofMatrix4x4 * mat){ vector<ofVec3f> vecs; for (int i = 0; i < ov.size(); i++) { vecs.push_back(ov[i] * *mat); } vboMesh.addVertices(vecs); vboMesh.addIndices(oi); }
Posts: 1
Participants: 1