[feature request] IComparable for angle types

Gamok

17-12-2006 14:50:17

i need to store a KeyValuePair<Radian, Quaternion[]> in a SortedList, but get the runtime exception: System.InvalidOperationException: Failed to compare two elements in the array --> System.ArgumentException: At least one object must implement IComparable. implementing the IComparable interface into the angle types (degree, radian, angleunit) would be great!

Bekas

17-12-2006 19:22:09

Good idea, consider it done :)