@@ -139,9 +139,9 @@ public function contractedCopy(float $x, float $y, float $z) : AxisAlignedBB{
139
139
}
140
140
141
141
/**
142
+ * Returns a copy of the AxisAlignedBB extended in the given direction.
143
+ *
142
144
* @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.
145
145
*/
146
146
public function extendedCopy (Facing $ face , float $ distance ) : AxisAlignedBB {
147
147
$ minX = $ this ->minX ;
@@ -166,8 +166,6 @@ public function extendedCopy(Facing $face, float $distance) : AxisAlignedBB{
166
166
/**
167
167
* @param float $distance Positive values pull the face in, negative values push out.
168
168
*
169
- * Returns a copy of the AxisAlignedBB with bounds trimmed in the given direction.
170
- *
171
169
* Inverse of extendedCopy().
172
170
* @see AxisAlignedBB::extendedCopy()
173
171
*/
@@ -176,9 +174,9 @@ public function trimmedCopy(Facing $face, float $distance) : AxisAlignedBB{
176
174
}
177
175
178
176
/**
177
+ * Returns a copy of the AxisAlignedBB stretched along the given axis.
178
+ *
179
179
* @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.
182
180
*/
183
181
public function stretchedCopy (Axis $ axis , float $ distance ) : AxisAlignedBB {
184
182
$ minX = $ this ->minX ;
@@ -203,8 +201,6 @@ public function stretchedCopy(Axis $axis, float $distance) : AxisAlignedBB{
203
201
}
204
202
205
203
/**
206
- * Returns a copy of the AxisAlignedBB with bounds squashed along the given axis.
207
- *
208
204
* Inverse of stretchedCopy().
209
205
* @see AxisAlignedBB::stretchedCopy()
210
206
*/
0 commit comments