Skip to content

Commit

Permalink
GLTFLoader: Fix rotation direction.
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy committed Jul 10, 2018
1 parent 8a305f3 commit bf60de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/loaders/GLTFLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ THREE.GLTFLoader = ( function () {

if ( transform.rotation !== undefined ) {

texture.rotation = -1 * transform.rotation;
texture.rotation = transform.rotation;

}

Expand Down

0 comments on commit bf60de3

Please sign in to comment.