Changed the member variable to be consistent with the method name.
This commit is contained in:
parent
b8f9249bea
commit
968a427e00
@ -49,13 +49,13 @@ public:
|
|||||||
: GeometryCollector(optimizer, Optimizer::INDEX_MESH), _isForcedReindexationEnable(false)
|
: GeometryCollector(optimizer, Optimizer::INDEX_MESH), _isForcedReindexationEnable(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
inline void setGenerateNewIndicesOnAllGeometries(bool b) { _isForcedReindexationEnable = b; }
|
inline void setGenerateNewIndicesOnAllGeometries(bool b) { _generateNewIndicesOnAllGeometries = b; }
|
||||||
inline bool getGenerateNewIndicesOnAllGeometries() const { return _isForcedReindexationEnable; }
|
inline bool getGenerateNewIndicesOnAllGeometries() const { return _generateNewIndicesOnAllGeometries; }
|
||||||
|
|
||||||
void makeMesh(osg::Geometry& geom);
|
void makeMesh(osg::Geometry& geom);
|
||||||
void makeMesh();
|
void makeMesh();
|
||||||
protected:
|
protected:
|
||||||
bool _isForcedReindexationEnable;
|
bool _generateNewIndicesOnAllGeometries;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Optimize the triangle order in a mesh for best use of the GPU's
|
// Optimize the triangle order in a mesh for best use of the GPU's
|
||||||
|
Loading…
Reference in New Issue
Block a user