diff options
Diffstat (limited to 'core/math/triangle_mesh.h')
-rw-r--r-- | core/math/triangle_mesh.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/math/triangle_mesh.h b/core/math/triangle_mesh.h index 9f145f2afb..78de7ae7ee 100644 --- a/core/math/triangle_mesh.h +++ b/core/math/triangle_mesh.h @@ -92,6 +92,10 @@ public: Vector3 get_area_normal(const AABB &p_aabb) const; PoolVector<Face3> get_faces() const; + PoolVector<Triangle> get_triangles() const { return triangles; } + PoolVector<Vector3> get_vertices() const { return vertices; } + void get_indices(PoolVector<int> *p_triangles_indices) const; + void create(const PoolVector<Vector3> &p_faces); TriangleMesh(); }; |