29 using System.Collections.Generic;
30 using System.Diagnostics;
32 namespace OpenSim.
Region.PhysicsModules.ConvexDecompositionDotNet
40 private List<HullTriangle> tris;
47 n =
new int3(-1, -1, -1);
56 Debug.Assert(tris[id] ==
this);
60 public int neib(
int a,
int b)
64 for (i = 0; i < 3; i++)
68 if ((
this)[i] == a && (
this)[i1] == b)
70 if ((
this)[i] == b && (
this)[i1] == a)
78 public void setneib(
int a,
int b,
int value)
82 for (i = 0; i < 3; i++)
86 if ((
this)[i] == a && (
this)[i1] == b)
91 if ((
this)[i] == b && (
this)[i1] == a)
HullTriangle(int a, int b, int c, List< HullTriangle > tris)
void setneib(int a, int b, int value)