Home | History | Annotate | Download | only in smoke

Lines Matching refs:faces

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