iterate all children and call their render callback function.
if(!this.todos.length){ return; } // console.debug("Viewport::render"); var m = dojox.gfx3d.matrix; // Iterate the todos and call render to prepare the rendering: for(var x=0; x<this.todos.length; x++){ this.todos[x].render(dojox.gfx3d.matrix.normalize([ m.cameraRotateXg(180), m.cameraTranslate(0, this.dimension.height, 0), this.camera, ]), this.deep); } this.objects = this.schedule(this.objects); this.draw(this.todos, this.objects, this); this.todos = []; this.deep = false;