GetDeferredFace() public method

Get the deferred face.
public GetDeferredFace ( ) : DeferredFace
return DeferredFace
Exemplo n.º 1
0
        private DeferredFace MakeDeferredFace(ConvexFaceInternal face, int faceIndex, ConvexFaceInternal pivot, int pivotIndex, ConvexFaceInternal oldFace)
        {
            DeferredFace deferredFace = ObjectManager.GetDeferredFace();

            deferredFace.Face       = face;
            deferredFace.FaceIndex  = faceIndex;
            deferredFace.Pivot      = pivot;
            deferredFace.PivotIndex = pivotIndex;
            deferredFace.OldFace    = oldFace;
            return(deferredFace);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates a new deferred face.
        /// </summary>
        /// <param name="face"></param>
        /// <param name="faceIndex"></param>
        /// <param name="pivot"></param>
        /// <param name="pivotIndex"></param>
        /// <param name="oldFace"></param>
        /// <returns></returns>
        DeferredFace MakeDeferredFace(ConvexFaceInternal face, int faceIndex, ConvexFaceInternal pivot, int pivotIndex, ConvexFaceInternal oldFace)
        {
            var ret = ObjectManager.GetDeferredFace();

            ret.Face       = face;
            ret.FaceIndex  = faceIndex;
            ret.Pivot      = pivot;
            ret.PivotIndex = pivotIndex;
            ret.OldFace    = oldFace;

            return(ret);
        }