Lines Matching refs:faces
97 …ld(const std::vector<std::array<float, 6>> &vertices, const std::vector<std::array<int, 3>> &faces) in build() argument
106 faces_.reserve(faces.size()); in build()
107 for (const auto &f : faces) in build()
176 const std::vector<std::array<int, 3>> faces = { in BuildPyramid() local
185 mesh.build(vertices, faces); in BuildPyramid()
259 std::vector<Mesh::Face> faces; in tessellate() local
260 faces.reserve(final_face_count); in tessellate()
277 faces.emplace_back(Mesh::Face{ v0, v01, v20 }); in tessellate()
278 faces.emplace_back(Mesh::Face{ v1, v12, v01 }); in tessellate()
279 faces.emplace_back(Mesh::Face{ v2, v20, v12 }); in tessellate()
280 faces.emplace_back(Mesh::Face{ v01, v12, v20 }); in tessellate()
283 mesh_.faces_.swap(faces); in tessellate()