store clipping planes as arrays

beta.r3js.org
Theunis J. Botha 2016-10-04 19:37:13 +02:00
parent 683607d7bf
commit 70b2957343
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ GameLib.D3.Material = function(
this.alphaTest = alphaTest;
if (typeof clippingPlanes == 'undefined') {
clippingPlanes = null;
clippingPlanes = [];
}
this.clippingPlanes = clippingPlanes;