I want to calculate which face on a cube has been clicked. I've got the mouse to 3D down, and I can draw things, in 3D, at the mouse's position.
All I need to do now is calculate WHAT face of a cube is being touched.
EG. I have a function, when I pass the size, position and mouse position to it, it returns the face. Top, bottom, left, right, front, back.
Sounds simple, but I don't have the foggiest.
Thanks all, SilentC