File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ class CSmoothNormalGenerator
2222 class VertexHashMap
2323 {
2424 public:
25+ using collection_t = core::vector<CPolygonGeometryManipulator::SSNGVertexData>;
2526 struct BucketBounds
2627 {
27- core::vector<CPolygonGeometryManipulator::SSNGVertexData> ::iterator begin;
28- core::vector<CPolygonGeometryManipulator::SSNGVertexData> ::iterator end;
28+ collection_t ::iterator begin;
29+ collection_t ::iterator end;
2930 };
3031
3132 public:
@@ -52,8 +53,8 @@ class CSmoothNormalGenerator
5253 static constexpr uint32_t primeNumber3 = 83492791 ;
5354
5455 // holds iterators pointing to beginning of each bucket, last iterator points to m_vertices.end()
55- core::vector<core::vector<CPolygonGeometryManipulator::SSNGVertexData> ::iterator> m_buckets;
56- core::vector<CPolygonGeometryManipulator::SSNGVertexData> m_vertices;
56+ core::vector<collection_t ::iterator> m_buckets;
57+ collection_t m_vertices;
5758 const uint32_t m_hashTableMaxSize;
5859 const float m_cellSize;
5960
You can’t perform that action at this time.
0 commit comments