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; }