minor: remove some mono compiler warnings
parent
7f5d0a6735
commit
3274bc39c8
|
@ -347,6 +347,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin
|
||||||
{
|
{
|
||||||
indexBase = mesh.getIndexListAsInt();
|
indexBase = mesh.getIndexListAsInt();
|
||||||
vertexBase = new Vector3[iVertexCount];
|
vertexBase = new Vector3[iVertexCount];
|
||||||
|
|
||||||
for (int i = 0; i < iVertexCount; i++)
|
for (int i = 0; i < iVertexCount; i++)
|
||||||
{
|
{
|
||||||
OpenMetaverse.Vector3 v = mesh.getVertexList()[i];
|
OpenMetaverse.Vector3 v = mesh.getVertexList()[i];
|
||||||
|
@ -355,6 +356,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin
|
||||||
else
|
else
|
||||||
vertexBase[i] = Vector3.Zero;
|
vertexBase[i] = Vector3.Zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int ix = 0; ix < iIndexCount; ix += 3)
|
for (int ix = 0; ix < iIndexCount; ix += 3)
|
||||||
{
|
{
|
||||||
int ia = indexBase[ix + 0];
|
int ia = indexBase[ix + 0];
|
||||||
|
|
|
@ -1348,7 +1348,7 @@ namespace PrimMesher
|
||||||
float stepSize = twoPi / this.stepsPerRevolution;
|
float stepSize = twoPi / this.stepsPerRevolution;
|
||||||
|
|
||||||
int step = (int)(startAngle / stepSize);
|
int step = (int)(startAngle / stepSize);
|
||||||
int firstStep = step;
|
// int firstStep = step;
|
||||||
float angle = startAngle;
|
float angle = startAngle;
|
||||||
|
|
||||||
bool done = false;
|
bool done = false;
|
||||||
|
@ -1738,7 +1738,7 @@ namespace PrimMesher
|
||||||
// append this layer
|
// append this layer
|
||||||
|
|
||||||
int coordsLen = this.coords.Count;
|
int coordsLen = this.coords.Count;
|
||||||
int lastCoordsLen = coordsLen;
|
// int lastCoordsLen = coordsLen;
|
||||||
newLayer.AddValue2FaceVertexIndices(coordsLen);
|
newLayer.AddValue2FaceVertexIndices(coordsLen);
|
||||||
|
|
||||||
this.coords.AddRange(newLayer.coords);
|
this.coords.AddRange(newLayer.coords);
|
||||||
|
|
Loading…
Reference in New Issue