This commit is contained in:
Shoghi Cervantes 2013-06-02 12:54:21 +02:00
parent ffd8ac2879
commit 1b50bd6e0f

View File

@ -30,7 +30,7 @@ class Vector3{
public function __construct($x = 0, $y = 0, $z = 0){ public function __construct($x = 0, $y = 0, $z = 0){
if(($x instanceof Vector3) === true){ if(($x instanceof Vector3) === true){
$this->__construct($x->x, $x->y, $x->z); self::__construct($x->x, $x->y, $x->z);
}else{ }else{
$this->x = $x; $this->x = $x;
$this->y = $y; $this->y = $y;