src/components/rotation.js
function () {
    var data = this.data;
    var object3D = this.el.object3D;
    object3D.rotation.set(degToRad(data.x), degToRad(data.y), degToRad(data.z));
    object3D.rotation.order = 'YXZ';
  }
function () {
    var data = this.data;
    var object3D = this.el.object3D;
    object3D.rotation.set(degToRad(data.x), degToRad(data.y), degToRad(data.z));
    object3D.rotation.order = 'YXZ';
  }
function ( ) { var data = this . data ; var object3D = this . el . object3D ; object3D . rotation . set ( degToRad ( data . x ) , degToRad ( data . y ) , degToRad ( data . z ) ) ; object3D . rotation . order = 'YXZ' ; }
Updates object3D rotation.
Updates object3D rotation .