Closed Jared-Sprague closed 7 years ago
this.attributes.index.copyArray(new Uint16Array(this.index));
should be:
this.attributes.index.copyArray(new Uint16Array(this.indices_array));
Otherwise Firefox crashes with invalid argument error because this.index is undefined.
this.index
Good catch!
this.attributes.index.copyArray(new Uint16Array(this.index));
should be:
this.attributes.index.copyArray(new Uint16Array(this.indices_array));
Otherwise Firefox crashes with invalid argument error because
this.index
is undefined.