0 { $ res => # res and some fixes of rotx,roty