threebox
threebox copied to clipboard
same option,different coordinates
@peterqliu @kronick @McCulloughRT
loadObj load many obj,but the option is same,just coordinate is different.
I change code like this,but only one model display.
@jscastro76 @luojiandan @peterqliu @kronick @McCulloughRT
If I use coordinates.forEach((coor)=>{tb.loadObj(...)}),like this
It cost much memory
but I use tb.loadObj(...Array.forEach...)
I got one model only.
for each model, the options is same,coordinate is different.how can I save memory. Thanks:)
Solved in this fork