javascript - slice on array U32 on chrome -


im using library "zen photon garden" , have problem (if resize canvas) on chrome: "uncaught typeerror: this.z32.slice not function rayworker-asm.js:461"

 this.u32.set(this.z32.slice(0, l >> 2), begin >> 2); 

i discovered slice, in case, supported firefox, how can fix it?

this.heap = new arraybuffer(0x800000); this.f32 = new float32array(this.heap); this.u32 = new uint32array(this.heap); this.zeroes = new arraybuffer(0x10000); this.z32 = new uint32array(this.zeroes); 


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -