/** * Statistics for Image_3D * * Returns simple statisics for Image_3D as a string. * * @return string Statistics */ public function stats() { return sprintf(' Image 3D objects: %d lights: %d polygones: %d points: %d ', count($this->_objects), $this->_renderer->getLightCount(), $this->_renderer->getPolygonCount(), $this->_renderer->getPointCount()); }
/** * Statistics for Image_3D * * Returns simple statisics for Image_3D as a string. * * @return string Statistics */ public function stats() { return sprintf('Image 3D objects: %d lights: %d polygones: %d points: %d time: %.4f s ', count($this->_objects), $this->_renderer->getLightCount(), $this->_renderer->getPolygonCount(), $this->_renderer->getPointCount(), microtime(true) - $this->_start); }