mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +02:00
more CR feedback
This commit is contained in:
parent
af97e9bdd9
commit
faba160331
1 changed files with 3 additions and 3 deletions
|
@ -9,14 +9,14 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <QVector>
|
#include <vector>
|
||||||
|
|
||||||
#include "AABox.h"
|
#include "AABox.h"
|
||||||
#include "GeometryUtil.h"
|
#include "GeometryUtil.h"
|
||||||
|
|
||||||
class TriangleSet {
|
class TriangleSet {
|
||||||
public:
|
public:
|
||||||
void reserve(size_t size) { _triangles.reserve((int)size); } // reserve space in the datastructure for size number of triangles
|
void reserve(size_t size) { _triangles.reserve(size); } // reserve space in the datastructure for size number of triangles
|
||||||
|
|
||||||
void insert(const Triangle& t);
|
void insert(const Triangle& t);
|
||||||
void clear();
|
void clear();
|
||||||
|
@ -33,6 +33,6 @@ public:
|
||||||
const AABox& getBounds() const { return _bounds; }
|
const AABox& getBounds() const { return _bounds; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QVector<Triangle> _triangles;
|
std::vector<Triangle> _triangles;
|
||||||
AABox _bounds;
|
AABox _bounds;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue