예제 #1
0
 // override object.GetHashCode
 public override int GetHashCode()
 {
     return(FieldOfView.GetHashCode() + Aspect.GetHashCode() + NearestZ.GetHashCode() + FarthestZ.GetHashCode());
 }
예제 #2
0
 public override int GetHashCode()
 {
     return(Left.GetHashCode() + Top.GetHashCode() + Width.GetHashCode() + Height.GetHashCode()
            + NearestZ.GetHashCode() + FarthestZ.GetHashCode() + Background.GetHashCode() + Camera.GetHashCode());
 }