Custom chunksize and timeout
This commit is contained in:
parent
0490db4bb6
commit
ce5f8cbfa2
|
@ -5,7 +5,7 @@ animate();
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
|
||||||
loader = new Loader('assets/bunny_remove.obj');
|
loader = new Loader('assets/bunny_remove.obj', 1024, 20);
|
||||||
loader.start(function(elements) {
|
loader.start(function(elements) {
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
if (element !== undefined) {
|
if (element !== undefined) {
|
||||||
|
|
Loading…
Reference in New Issue