(XDK D3D) Simplify set_rotation