diff --git a/game-lib.js b/game-lib.js index 414a4f1..33bf4d6 100644 --- a/game-lib.js +++ b/game-lib.js @@ -1921,7 +1921,7 @@ GameLib.D3.prototype.loadMap = function(gameLibTexture, threeMaterial, threeMate threeMaterial[threeMaterialMapType].minFilter = gameLibTexture.minFilter; threeMaterial[threeMaterialMapType].mapping = gameLibTexture.mapping; threeMaterial[threeMaterialMapType].mipmaps = gameLibTexture.mipmaps; - threeMaterial[threeMaterialMapType].offset = new THREE.Vector2( + threeMaterial[threeMaterialMapType].offset = new this.THREE.Vector2( gameLibTexture.offset.x, gameLibTexture.offset.y );