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; }
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()); }
public function __construct($x, $y, $z) { parent::__construct($x, $y, $z); $this->_color = null; $this->_position = null; }