Example #1
0
        public void AddPartsShadow(ObjCell objCell, int numShadowParts)
        {
            List <int> clipPlaneList = null;

            if (numShadowParts > 1)
            {
                clipPlaneList = objCell.ClipPlanes;
            }

            for (var i = 0; i < NumParts; i++)
            {
                if (Parts[i] != null)
                {
                    objCell.AddPart(Parts[i], clipPlaneList, objCell.Pos.Frame, numShadowParts);
                }
            }
        }