Advertisement
LittleAngel

SortV2xY

Nov 3rd, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. class SortV2xY : IComparer <Vector2> {
  2.  
  3. public SortV2xY () {
  4. }
  5.  
  6. int IComparer <Vector2>.Compare (Vector2 a, Vector2 b) {
  7. return (a.y.CompareTo (b.y));
  8. }
  9. }
  10.  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement