Fixed warnings
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
#include "WriterCompareTriangle.h"
|
||||
|
||||
WriterCompareTriangle::WriterCompareTriangle(const osg::Geode& geode,
|
||||
unsigned int nbVertices)
|
||||
: geode(geode)
|
||||
WriterCompareTriangle::WriterCompareTriangle(const osg::Geode& in_geode, unsigned int in_nbVertices):
|
||||
geode(geode)
|
||||
{
|
||||
cutscene(nbVertices, geode.getDrawable(0)->asGeometry()->getBoundingBox());
|
||||
cutscene(in_nbVertices, geode.getDrawable(0)->asGeometry()->getBoundingBox());
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
@@ -45,8 +45,8 @@ struct Triangle
|
||||
|
||||
struct VertexIndex
|
||||
{
|
||||
VertexIndex(unsigned int vertexIndex, unsigned int drawableIndex, unsigned int normalIndex)
|
||||
: vertexIndex(vertexIndex), drawableIndex(drawableIndex), normalIndex(normalIndex)
|
||||
VertexIndex(unsigned int in_vertexIndex, unsigned int in_drawableIndex, unsigned int in_normalIndex)
|
||||
: vertexIndex(in_vertexIndex), drawableIndex(in_drawableIndex), normalIndex(in_normalIndex)
|
||||
{}
|
||||
VertexIndex(const VertexIndex & v) : vertexIndex(v.vertexIndex), drawableIndex(v.drawableIndex), normalIndex(v.normalIndex) {}
|
||||
|
||||
|
||||
@@ -678,8 +678,8 @@ bool quadSplit02(const FbxMesh * fbxMesh, int i /*polygonIndex*/,
|
||||
|
||||
struct PolygonRef
|
||||
{
|
||||
PolygonRef(osg::Geometry* pGeometry, int numPoly, int nVertex)
|
||||
: pGeometry(pGeometry), numPoly(numPoly), nVertex(nVertex)
|
||||
PolygonRef(osg::Geometry* in_pGeometry, int in_numPoly, int in_nVertex)
|
||||
: pGeometry(in_pGeometry), numPoly(in_numPoly), nVertex(in_nVertex)
|
||||
{}
|
||||
osg::Geometry* pGeometry;
|
||||
int numPoly;
|
||||
|
||||
Reference in New Issue
Block a user