示例#1
0
        public override bool Equals(ForeignFin other)
        {
            if (other == null)
            {
                return(false);
            }
            if (other == this)
            {
                return(true);
            }

            var otherFin = other as BezierPatchForeignFin;

            return(otherFin != null && otherFin.points == points);
        }
        public override bool Equals(ForeignFin other)
        {
            if (other == null)
                return false;
            if (other == this)
                return true;

            var otherFin = other as BezierPatchForeignFin;
            return otherFin != null && otherFin.points == points;
        }