diff options
Diffstat (limited to 'extern/draco/draco/src/draco/mesh/mesh.h')
-rw-r--r-- | extern/draco/draco/src/draco/mesh/mesh.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extern/draco/draco/src/draco/mesh/mesh.h b/extern/draco/draco/src/draco/mesh/mesh.h index f4506da81c9..b1577c03986 100644 --- a/extern/draco/draco/src/draco/mesh/mesh.h +++ b/extern/draco/draco/src/draco/mesh/mesh.h @@ -119,6 +119,10 @@ class Mesh : public PointCloud { const std::vector<PointIndex> &unique_point_ids) override; #endif + // Exposes |faces_|. Use |faces_| at your own risk. DO NOT store the + // reference: the |faces_| object is destroyed with the mesh. + IndexTypeVector<FaceIndex, Face> &faces() { return faces_; } + private: // Mesh specific per-attribute data. std::vector<AttributeData> attribute_data_; |