made three.js local
normalised rotation and translations