Skip to content

Commit 83ce72b

Browse files
committed
Change documentation
1 parent feef175 commit 83ce72b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/AxisAlignedBB.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ public function contractedCopy(float $x, float $y, float $z) : AxisAlignedBB{
139139
}
140140

141141
/**
142+
* Returns a copy of the AxisAlignedBB extended in the given direction.
143+
*
142144
* @param float $distance Negative values pull the face in, positive values push out.
143-
*
144-
* Returns a copy of the AxisAlignedBB with bounds extended in the given direction.
145145
*/
146146
public function extendedCopy(Facing $face, float $distance) : AxisAlignedBB{
147147
$minX = $this->minX;
@@ -166,8 +166,6 @@ public function extendedCopy(Facing $face, float $distance) : AxisAlignedBB{
166166
/**
167167
* @param float $distance Positive values pull the face in, negative values push out.
168168
*
169-
* Returns a copy of the AxisAlignedBB with bounds trimmed in the given direction.
170-
*
171169
* Inverse of extendedCopy().
172170
* @see AxisAlignedBB::extendedCopy()
173171
*/
@@ -176,9 +174,9 @@ public function trimmedCopy(Facing $face, float $distance) : AxisAlignedBB{
176174
}
177175

178176
/**
177+
* Returns a copy of the AxisAlignedBB stretched along the given axis.
178+
*
179179
* @param float $distance Negative values reduce width, positive values increase width.
180-
*
181-
* Returns a copy of the AxisAlignedBB with bounds stretched along the given axis.
182180
*/
183181
public function stretchedCopy(Axis $axis, float $distance) : AxisAlignedBB{
184182
$minX = $this->minX;
@@ -203,8 +201,6 @@ public function stretchedCopy(Axis $axis, float $distance) : AxisAlignedBB{
203201
}
204202

205203
/**
206-
* Returns a copy of the AxisAlignedBB with bounds squashed along the given axis.
207-
*
208204
* Inverse of stretchedCopy().
209205
* @see AxisAlignedBB::stretchedCopy()
210206
*/

0 commit comments

Comments
 (0)