public override bool Equals(ForeignBody other) { if (other == null) { return(false); } if (other == this) { return(true); } var otherBody = other as BezierPatchForeignBody; return(otherBody != null && otherBody.vertices == vertices); }
public override bool Equals(ForeignBody other) { if (other == null) return false; if (other == this) return true; var otherBody = other as BezierPatchForeignBody; return otherBody != null && otherBody.vertices == vertices; }