Skip to content

Commit f7f698d

Browse files
committed
GLTFLoader: Fix rotation direction.
1 parent 2c252eb commit f7f698d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/loaders/GLTFLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ THREE.GLTFLoader = ( function () {
520520

521521
if ( transform.rotation !== undefined ) {
522522

523-
texture.rotation = -1 * transform.rotation;
523+
texture.rotation = transform.rotation;
524524

525525
}
526526

0 commit comments

Comments
 (0)