public int CompareTo(LineSegment3f other) { int cmp = A.CompareTo(other.A); if (cmp != 0) { return(cmp); } return(B.CompareTo(other.B)); }
public int CompareTo(Spheref other) { int cmp = Center.CompareTo(other.Center); if (cmp != 0) { return(cmp); } return(Radius.CompareTo(other.Radius)); }
public int CompareTo(AABoxf other) { int cmp = Min.CompareTo(other.Min); if (cmp != 0) { return(cmp); } return(Max.CompareTo(other.Max)); }
public int CompareTo(Ray3f other) { int cmp = Origin.CompareTo(other.Origin); if (cmp == 0) { return(Direction.CompareTo(other.Direction)); } return(cmp); }
public int CompareTo(Bezier3f other) { int cmp = A.CompareTo(other.A); if (cmp != 0) { return(cmp); } cmp = B.CompareTo(other.B); if (cmp != 0) { return(cmp); } return(C.CompareTo(other.C)); }