mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
minor: remove some mono compiler warnings
This commit is contained in:
@@ -347,6 +347,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin
|
||||
{
|
||||
indexBase = mesh.getIndexListAsInt();
|
||||
vertexBase = new Vector3[iVertexCount];
|
||||
|
||||
for (int i = 0; i < iVertexCount; i++)
|
||||
{
|
||||
OpenMetaverse.Vector3 v = mesh.getVertexList()[i];
|
||||
@@ -355,6 +356,7 @@ namespace OpenSim.Region.Physics.BulletXPlugin
|
||||
else
|
||||
vertexBase[i] = Vector3.Zero;
|
||||
}
|
||||
|
||||
for (int ix = 0; ix < iIndexCount; ix += 3)
|
||||
{
|
||||
int ia = indexBase[ix + 0];
|
||||
|
||||
@@ -1348,7 +1348,7 @@ namespace PrimMesher
|
||||
float stepSize = twoPi / this.stepsPerRevolution;
|
||||
|
||||
int step = (int)(startAngle / stepSize);
|
||||
int firstStep = step;
|
||||
// int firstStep = step;
|
||||
float angle = startAngle;
|
||||
|
||||
bool done = false;
|
||||
@@ -1738,7 +1738,7 @@ namespace PrimMesher
|
||||
// append this layer
|
||||
|
||||
int coordsLen = this.coords.Count;
|
||||
int lastCoordsLen = coordsLen;
|
||||
// int lastCoordsLen = coordsLen;
|
||||
newLayer.AddValue2FaceVertexIndices(coordsLen);
|
||||
|
||||
this.coords.AddRange(newLayer.coords);
|
||||
|
||||
Reference in New Issue
Block a user