protected void allocateChannels (int maxParticleCount) { particles = new ParallelArray(maxParticleCount); // Alloc additional channels emitter.allocateChannels(); for (Influencer influencer : influencers) influencer.allocateChannels(); renderer.allocateChannels(); }
protected void allocateChannels (int maxParticleCount) { particles = new ParallelArray(maxParticleCount); // Alloc additional channels emitter.allocateChannels(); for (Influencer influencer : influencers) influencer.allocateChannels(); renderer.allocateChannels(); }
var par_A = new ParallelArray([3,3,3,3]); //returns < 0,1,2,3 > console.log( par_A.combine_par(function(i) {return i} ) );
protected void allocateChannels (int maxParticleCount) { particles = new ParallelArray(maxParticleCount); // Alloc additional channels emitter.allocateChannels(); for (Influencer influencer : influencers) influencer.allocateChannels(); renderer.allocateChannels(); }