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
Post a Comment