We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a12dd commit 3c8aa5dCopy full SHA for 3c8aa5d
examples/js/loaders/ColladaLoader2.js
@@ -468,7 +468,12 @@ THREE.ColladaLoader.prototype = {
468
function pushVector( i ) {
469
470
var index = indices[ i + offset ] * 3;
471
- array.push( source[ index + 0 ], source[ index + 1 ], source[ index + 2 ] );
+
472
+ if ( asset.upAxis === 'Z_UP' ) {
473
+ array.push( source[ index + 0 ], source[ index + 2 ], - source[ index + 1 ] );
474
+ } else {
475
+ array.push( source[ index + 0 ], source[ index + 1 ], source[ index + 2 ] );
476
+ }
477
478
}
479
0 commit comments