vh: make a vertex fetching method in Mesher public for BulletSim reference.

0.7.5-pf-bulletsim
Robert Adams 2013-05-09 22:14:32 -07:00
parent 10a1a6ad3c
commit e8c01eff40
2 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,7 @@ namespace OpenSim.Region.Physics.Manager
List<Vector3> getVertexList();
int[] getIndexListAsInt();
int[] getIndexListAsIntLocked();
float[] getVertexListAsFloat();
float[] getVertexListAsFloatLocked();
void getIndexListAsPtrToIntArray(out IntPtr indices, out int triStride, out int indexCount);
void getVertexListAsPtrToFloatArray(out IntPtr vertexList, out int vertexStride, out int vertexCount);

View File

@ -152,7 +152,7 @@ namespace OpenSim.Region.Physics.Meshing
return result;
}
private float[] getVertexListAsFloat()
public float[] getVertexListAsFloat()
{
if (m_vertices == null)
throw new NotSupportedException();