mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 07:09:56 +00:00
Merge branch 'patch-4' of https://github.com/SOF3/PocketMine-MP-Original
This commit is contained in:
commit
839a2ce07e
@ -250,7 +250,7 @@ class Vector3{
|
|||||||
if($f < 0 or $f > 1){
|
if($f < 0 or $f > 1){
|
||||||
return null;
|
return null;
|
||||||
}else{
|
}else{
|
||||||
return new Vector3($this->x + $xDiff * $f, $this->y + $yDiff * $f, $this->z + $zDiff * $f);
|
return new Vector3($x, $this->y + $yDiff * $f, $this->z + $zDiff * $f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -277,7 +277,7 @@ class Vector3{
|
|||||||
if($f < 0 or $f > 1){
|
if($f < 0 or $f > 1){
|
||||||
return null;
|
return null;
|
||||||
}else{
|
}else{
|
||||||
return new Vector3($this->x + $xDiff * $f, $this->y + $yDiff * $f, $this->z + $zDiff * $f);
|
return new Vector3($this->x + $xDiff * $f, $y, $this->z + $zDiff * $f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ class Vector3{
|
|||||||
if($f < 0 or $f > 1){
|
if($f < 0 or $f > 1){
|
||||||
return null;
|
return null;
|
||||||
}else{
|
}else{
|
||||||
return new Vector3($this->x + $xDiff * $f, $this->y + $yDiff * $f, $this->z + $zDiff * $f);
|
return new Vector3($this->x + $xDiff * $f, $this->y + $yDiff * $f, $z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user