Faster level generator

This commit is contained in:
Shoghi Cervantes 2013-09-09 03:32:24 +02:00
parent 4ccaccc126
commit b3c51c6d2e
11 changed files with 71 additions and 63 deletions

View file

@ -23,13 +23,9 @@ class Vector3{
public $x, $y, $z;
public function __construct($x = 0, $y = 0, $z = 0){
if(($x instanceof Vector3) === true){
$this->__construct($x->x, $x->y, $x->z);
}else{
$this->x = $x;
$this->y = $y;
$this->z = $z;
}
$this->x = $x;
$this->y = $y;
$this->z = $z;
}
public function getX(){