/// <inheritdoc /> public bool Equals([AllowNull] Camera other) { if (other == null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Up == other.Up || Up != null && Up.Equals(other.Up) ) && ( Center == other.Center || Center != null && Center.Equals(other.Center) ) && ( Eye == other.Eye || Eye != null && Eye.Equals(other.Eye) ) && ( Projection == other.Projection || Projection != null && Projection.Equals(other.Projection) )); }
public bool Equals(Fraction other) { if (other is null) { return(false); } return(Up.Equals(other.Up) && Down.Equals(other.Down)); }
public bool Equals([AllowNull] Camera other) { if(other == null) return false; if(ReferenceEquals(this, other)) return true; return (Up == other.Up && Up != null && other.Up != null && Up.Equals(other.Up)) && (Center == other.Center && Center != null && other.Center != null && Center.Equals(other.Center)) && (Eye == other.Eye && Eye != null && other.Eye != null && Eye.Equals(other.Eye)) && (Projection == other.Projection && Projection != null && other.Projection != null && Projection.Equals(other.Projection)); }