From 1b50bd6e0f88071870c468699eaf1bf8cbf12df5 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 2 Jun 2013 12:54:21 +0200 Subject: [PATCH] FInal fix #312 --- src/math/Vector3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/Vector3.php b/src/math/Vector3.php index 91f425df6..6e01ef398 100644 --- a/src/math/Vector3.php +++ b/src/math/Vector3.php @@ -30,7 +30,7 @@ class Vector3{ public function __construct($x = 0, $y = 0, $z = 0){ if(($x instanceof Vector3) === true){ - $this->__construct($x->x, $x->y, $x->z); + self::__construct($x->x, $x->y, $x->z); }else{ $this->x = $x; $this->y = $y;