From 70b2957343ec5e8a38db0fa3a823d59e5e27500d Mon Sep 17 00:00:00 2001 From: "Theunis J. Botha" Date: Tue, 4 Oct 2016 19:37:13 +0200 Subject: [PATCH] store clipping planes as arrays --- game-lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-lib.js b/game-lib.js index e7ffdbd..2069b65 100644 --- a/game-lib.js +++ b/game-lib.js @@ -685,7 +685,7 @@ GameLib.D3.Material = function( this.alphaTest = alphaTest; if (typeof clippingPlanes == 'undefined') { - clippingPlanes = null; + clippingPlanes = []; } this.clippingPlanes = clippingPlanes;