three.js - gradually transform an orientation to a target orientation