I'm gonna try and make my own 3d engine in Darkbasic. Stupid, I know, and I don't expect it to be any good, but I'm just doing it for fun. Has anyone else tried this? If you have, then how did you organize it? I've got the formulae all sorted out, but I don't really know the best way to organize things. I'm thinking of arranging it into arrays according to object, then position(x,y and z), and then finally which points it's connected to. If you want to see some preliminary code then I've attached some.
[A witty, geek culture comment goes here]