in reply to Naming ordinals (directions/sides/faces) in the presence of 3D rotation?
Quaternions? Some 3D game programming tutorial might be of assistance.