Home
last modified time | relevance | path

Searched refs:mIndices (Results 1 – 3 of 3) sorted by relevance

/external/eigen/demos/opengl/
Dicosphere.cpp41 mIndices.push_back(new std::vector<int>); in IcoSphere()
42 std::vector<int>& indices = *mIndices.back(); in IcoSphere()
50 while(mIndices.size()<levels) in IcoSphere()
56 while (level>=int(mIndices.size())) in indices()
58 return *mIndices[level]; in indices()
65 const std::vector<int>& indices = *mIndices.back(); in _subdivide()
66 mIndices.push_back(new std::vector<int>); in _subdivide()
67 std::vector<int>& refinedIndices = *mIndices.back(); in _subdivide()
102 while (level>=int(mIndices.size())) in draw()
112 … glDrawElements(GL_TRIANGLES, mIndices[level]->size(), GL_UNSIGNED_INT, &(mIndices[level]->at(0))); in draw()
Dicosphere.h26 std::vector<std::vector<int>*> mIndices; variable
Dquaternion_demo.h68 std::vector<int> mIndices; variable