Fixed warnings

This commit is contained in:
Robert Osfield
2016-06-28 19:49:48 +01:00
parent 4223028ec1
commit 1df3cb9144
3 changed files with 7 additions and 8 deletions

View File

@@ -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

View File

@@ -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) {}

View File

@@ -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;