Example #1
0
 public function __construct($x, $y, $z)
 {
     parent::__construct($x, $y, $z);
     $this->_option = array();
     $this->_lastTransformation = null;
     $this->_screenCoordinates = null;
     $this->_processed = false;
     $this->_colors = array();
     $this->_color = null;
 }
Example #2
0
 public function crossProduct(Image_3D_Coordinate $vector)
 {
     return new Image_3D_Vector($this->getY() * $vector->getZ() - $this->getZ() * $vector->getY(), $this->getZ() * $vector->getX() - $this->getX() * $vector->getZ(), $this->getX() * $vector->getY() - $this->getY() * $vector->getX());
 }
Example #3
0
 public function __construct($x, $y, $z)
 {
     parent::__construct($x, $y, $z);
     $this->_color = null;
     $this->_position = null;
 }