store clipping planes as arrays
parent
683607d7bf
commit
70b2957343
|
@ -685,7 +685,7 @@ GameLib.D3.Material = function(
|
||||||
this.alphaTest = alphaTest;
|
this.alphaTest = alphaTest;
|
||||||
|
|
||||||
if (typeof clippingPlanes == 'undefined') {
|
if (typeof clippingPlanes == 'undefined') {
|
||||||
clippingPlanes = null;
|
clippingPlanes = [];
|
||||||
}
|
}
|
||||||
this.clippingPlanes = clippingPlanes;
|
this.clippingPlanes = clippingPlanes;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue