/// <summary>
 /// Creates a new istance if the TriangleMeshShape class.
 /// </summary>
 /// <param name="octree">The octree which holds the triangles
 /// of a mesh.</param>
 public TriangleMeshShape(Octree octree)
 {
     this.octree = octree;
     UpdateShape();
 }
Example #2
0
 /// <summary>
 /// Creates a new istance if the TriangleMeshShape class.
 /// </summary>
 /// <param name="octree">The octree which holds the triangles
 /// of a mesh.</param>
 public TriangleMeshShape(Octree octree)
 {
     this.octree = octree;
     UpdateShape();
     this.shapeType = ShapeType.TriangleMesh;
 }