/// <inheritdoc/> protected override void CloneCore(Shape sourceShape) { var source = (ConvexPolyhedron)sourceShape; _vertices = source._vertices; _aabbLocal = source._aabbLocal; _innerPoint = source._innerPoint; _directionLookupTable = source._directionLookupTable; _vertexAdjacency = source._vertexAdjacency; }
private void BuildVertexAdjacencyLists(DcelMesh convexHull) { _vertexAdjacency = new VertexAdjacency(convexHull); }
//-------------------------------------------------------------- #region Methods //-------------------------------------------------------------- internal void Set(Vector3F[] vertices, Aabb aabb, Vector3F innerPoint, DirectionalLookupTableUInt16F directionalLookupTable, VertexAdjacency vertexAdjacency) { _vertices = vertices; _aabbLocal = aabb; _innerPoint = innerPoint; _directionLookupTable = directionalLookupTable; _vertexAdjacency = vertexAdjacency; }