Hi,
I am working on a 3D vector application project using Free Pascal, and I need to sort an array of pointers referencing Path records. Each Path record contains a field that stores the distance from a camera to the center point of that path. The goal is to sort this array of pointers in descending order based on the distance values so that during the rendering process, paths that are furthest away from the camera are drawn first, and those closest are drawn last.
I appreciate any help you can provide.
Thomas Young