As the subject states, what would be the easiest way to sort an float array[3]?
Last edited by The Hobo; Nov 18th, 2002 at 11:23 PM.
My evil laugh has a squeak in it. kristopherwilson.com
Code: #include <algorithm> ... std::sort(&array[0], &array[3]); // note, one beyond end of array Z.
#include <algorithm> ... std::sort(&array[0], &array[3]); // note, one beyond end of array
[crystal-rain] [flipcode] [gamedev.net] [galahtech.com] [google]
Thanks, Z.
Forum Rules