Exemple #1
0
 /**
  * Set the driver
  *
  * Set the driver the image should be rendered with
  *
  * @param Image_3D_Driver $driver Driver to use
  *
  * @return  void
  */
 public function setDriver(Image_3D_Driver $driver)
 {
     $this->_driver = $driver;
     $this->setShading(max($driver->getSupportedShading()));
 }