From 675bf8e79930c82a1ba7d34d3d1cca9e32bc5dc3 Mon Sep 17 00:00:00 2001 From: "Theunis J. Botha" Date: Fri, 30 Sep 2016 14:14:59 +0200 Subject: [PATCH] this --- game-lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );