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

            var otherLump = other as BezierPatchForeignLump;

            return(otherLump != null && otherLump.vertices == vertices);
        }
 public BezierPatchForeignShell(ForeignLump parent, ControlPoint[,] vertices)
     : base(parent)
 {
     Debug.Assert(vertices != null);
     this.vertices = vertices;
 }
        public override bool Equals(ForeignLump other)
        {
            if (other == null)
                return false;
            if (other == this)
                return true;

            var otherLump = other as BezierPatchForeignLump;
            return otherLump != null && otherLump.vertices == vertices;
        }
示例#4
0
 public BezierPatchForeignShell(ForeignLump parent, ControlPoint[,] vertices)
     : base(parent)
 {
     Debug.Assert(vertices != null);
     this.vertices = vertices;
 }