mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
vh: make a vertex fetching method in Mesher public for BulletSim reference.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -152,7 +152,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
return result;
|
||||
}
|
||||
|
||||
private float[] getVertexListAsFloat()
|
||||
public float[] getVertexListAsFloat()
|
||||
{
|
||||
if (m_vertices == null)
|
||||
throw new NotSupportedException();
|
||||
|
||||
Reference in New Issue
Block a user