|
@@ -496,6 +496,8 @@ Object.assign( ObjectLoader.prototype, {
|
|
|
|
|
|
if ( data.offset !== undefined ) texture.offset.fromArray( data.offset );
|
|
|
if ( data.repeat !== undefined ) texture.repeat.fromArray( data.repeat );
|
|
|
+ if ( data.rotation !== undefined ) texture.rotation = data.rotation;
|
|
|
+
|
|
|
if ( data.wrap !== undefined ) {
|
|
|
|
|
|
texture.wrapS = parseConstant( data.wrap[ 0 ], TEXTURE_WRAPPING );
|