passing rotations to 3dObject

passing rotations to 3dObject