Beispiel #1
0
 public ObiTriangleMeshContainer()
 {
     handles   = new Dictionary <Mesh, ObiTriangleMeshHandle>();
     headers   = new ObiNativeTriangleMeshHeaderList();
     bihNodes  = new ObiNativeBIHNodeList();
     triangles = new ObiNativeTriangleList();
     vertices  = new ObiNativeVector3List();
 }
Beispiel #2
0
 public ObiEdgeMeshContainer()
 {
     handles  = new Dictionary <EdgeCollider2D, ObiEdgeMeshHandle>();
     headers  = new ObiNativeEdgeMeshHeaderList();
     bihNodes = new ObiNativeBIHNodeList();
     edges    = new ObiNativeEdgeList();
     vertices = new ObiNativeVector2List();
 }
 public void SetEdgeMeshData(ObiNativeEdgeMeshHeaderList headers, ObiNativeBIHNodeList nodes, ObiNativeEdgeList edges, ObiNativeVector2List vertices)
 {
     Oni.SetEdgeMeshData(headers.GetIntPtr(), nodes.GetIntPtr(), edges.GetIntPtr(), vertices.GetIntPtr());
 }
 public void SetTriangleMeshData(ObiNativeTriangleMeshHeaderList headers, ObiNativeBIHNodeList nodes, ObiNativeTriangleList triangles, ObiNativeVector3List vertices)
 {
     Oni.SetTriangleMeshData(headers.GetIntPtr(), nodes.GetIntPtr(), triangles.GetIntPtr(), vertices.GetIntPtr());
 }
Beispiel #5
0
 public void SetEdgeMeshData(ObiNativeEdgeMeshHeaderList headers, ObiNativeBIHNodeList nodes, ObiNativeEdgeList edges, ObiNativeVector2List vertices)
 {
 }
Beispiel #6
0
 public void SetTriangleMeshData(ObiNativeTriangleMeshHeaderList headers, ObiNativeBIHNodeList nodes, ObiNativeTriangleList triangles, ObiNativeVector3List vertices)
 {
 }