initialize ptrs

This commit is contained in:
Guillaume Damiand 2025-04-18 11:08:19 +02:00
parent 3ecf4ee878
commit a36d0d4df8
1 changed files with 6 additions and 6 deletions

View File

@ -884,13 +884,13 @@ protected:
typedef CGAL::Constrained_Delaunay_triangulation_2<P_traits, TDS, Itag> CDT;
protected:
std::vector<BufferType>* m_pos_buffer;
std::vector<IndexType>* m_index_buffer;
std::vector<BufferType>* m_color_buffer;
mutable std::vector<BufferType>* m_flat_normal_buffer;
mutable std::vector<BufferType>* m_gouraud_normal_buffer;
std::vector<BufferType>* m_pos_buffer=nullptr;
std::vector<IndexType>* m_index_buffer=nullptr;
std::vector<BufferType>* m_color_buffer=nullptr;
mutable std::vector<BufferType>* m_flat_normal_buffer=nullptr;
mutable std::vector<BufferType>* m_gouraud_normal_buffer=nullptr;
CGAL::Bbox_3* m_bb;
CGAL::Bbox_3* m_bb=nullptr;
bool m_zero_x; /// True iff all points have x==0
bool m_zero_y; /// True iff all points have y==0