MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / extendToEncompass

Method extendToEncompass

common/buildcraft/lib/misc/data/Box.java:197–203  ·  view source on GitHub ↗
(IBox toBeContained)

Source from the content-addressed store, hash-verified

195 }
196
197 public Box extendToEncompass(IBox toBeContained) {
198 if (toBeContained == null) {
199 return this;
200 }
201 extendToEncompassBoth(toBeContained.min(), toBeContained.max());
202 return this;
203 }
204
205 /** IMPORTANT: Use {@link #contains(Vec3d)}instead of the returned {@link AxisAlignedBB#isVecInside(Vec3d)} as the
206 * logic is different! */

Callers 11

getRenderBoundingBoxMethod · 0.95
getRenderBoundingBoxMethod · 0.95
getRenderBoundingBoxMethod · 0.80
getRenderBoundingBoxMethod · 0.80
getRenderBoundingBoxMethod · 0.80
getRenderBoundingBoxMethod · 0.80
getRenderBoundingBoxMethod · 0.80
getRenderBoundingBoxMethod · 0.80
renderEditingBoxMethod · 0.80
createBoxMethod · 0.80

Calls 9

extendToEncompassBothMethod · 0.95
setMinMethod · 0.95
minMethod · 0.95
convertFloorMethod · 0.95
setMaxMethod · 0.95
maxMethod · 0.95
convertCeilingMethod · 0.95
minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected