123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using System;
- using System.Collections.Generic;
- using OpenSim.Framework;
- using OpenMetaverse;
- namespace OpenSim.Region.Physics.Manager
- {
- public interface IMesher
- {
- IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod);
- IMesh CreateMesh(String primName, PrimitiveBaseShape primShape, Vector3 size, float lod, bool isPhysical);
- }
-
-
-
- public enum LevelOfDetail
- {
- High = 32,
- Medium = 16,
- Low = 8,
- VeryLow = 4
- }
- public interface IVertex
- {
- }
- public interface IMesh
- {
- List<Vector3> getVertexList();
- int[] getIndexListAsInt();
- int[] getIndexListAsIntLocked();
- float[] getVertexListAsFloatLocked();
- void getIndexListAsPtrToIntArray(out IntPtr indices, out int triStride, out int indexCount);
- void getVertexListAsPtrToFloatArray(out IntPtr vertexList, out int vertexStride, out int vertexCount);
- void releaseSourceMeshData();
- void releasePinned();
- void Append(IMesh newMesh);
- void TransformLinear(float[,] matrix, float[] offset);
- }
- }
|