I've been trying to make a simple 3D cube that rotates clockwise, but sometimes the triangles swap colors, or stick in front of other triangles that are closer to the screen. Need help!!!
You've got to put every point into an array
Then use RSORT Z,X,Y,anyOtherVariables
Then draw everything
You can take a look at my 3D thing if you'd like, its almost exactly what your doing