/** Extends the bounding box with the bounds of this Node. This is a potential slow operation, it is advised to cache the * result. */ public BoundingBox extendBoundingBox (final BoundingBox out) { return extendBoundingBox(out, true); }
/** Extends the bounding box with the bounds of this Node. This is a potential slow operation, it is advised to cache the * result. */ public BoundingBox extendBoundingBox (final BoundingBox out) { return extendBoundingBox(out, true); }
/** Extends the bounding box with the bounds of this model instance. This is a potential slow operation, it is advised to cache * the result. * @param out the {@link BoundingBox} that will be extended with the bounds. * @return the out parameter for chaining */ public BoundingBox extendBoundingBox (final BoundingBox out) { final int n = nodes.size; for (int i = 0; i < n; i++) nodes.get(i).extendBoundingBox(out); return out; }
/** Calculate the bounding box of this Node. This is a potential slow operation, it is advised to cache the result. */ public BoundingBox calculateBoundingBox (final BoundingBox out, boolean transform) { out.inf(); return extendBoundingBox(out, transform); }
/** Extends the bounding box with the bounds of this model instance. This is a potential slow operation, it is advised to cache * the result. * @param out the {@link BoundingBox} that will be extended with the bounds. * @return the out parameter for chaining */ public BoundingBox extendBoundingBox (final BoundingBox out) { final int n = nodes.size; for (int i = 0; i < n; i++) nodes.get(i).extendBoundingBox(out); return out; }
/** Calculate the bounding box of this Node. This is a potential slow operation, it is advised to cache the result. */ public BoundingBox calculateBoundingBox (final BoundingBox out) { out.inf(); return extendBoundingBox(out); }
/** Calculate the bounding box of this Node. This is a potential slow operation, it is advised to cache the result. */ public BoundingBox calculateBoundingBox (final BoundingBox out, boolean transform) { out.inf(); return extendBoundingBox(out, transform); }
/** Extends the bounding box with the bounds of this model instance. This is a potential slow operation, it is advised to cache * the result. * @param out the {@link BoundingBox} that will be extended with the bounds. * @return the out parameter for chaining */ public BoundingBox extendBoundingBox (final BoundingBox out) { final int n = nodes.size; for (int i = 0; i < n; i++) nodes.get(i).extendBoundingBox(out); return out; }
/** Extends the bounding box with the bounds of this model instance. This is a potential slow operation, it is advised to cache * the result. * @param out the {@link BoundingBox} that will be extended with the bounds. * @return the out parameter for chaining */ public BoundingBox extendBoundingBox (final BoundingBox out) { final int n = nodes.size; for (int i = 0; i < n; i++) nodes.get(i).extendBoundingBox(out); return out; }
/** Calculate the bounding box of this Node. This is a potential slow operation, it is advised to cache the result. */ public BoundingBox calculateBoundingBox (final BoundingBox out) { out.inf(); return extendBoundingBox(out); }
/** Extends the bounding box with the bounds of this Node. This is a potential slow operation, it is advised to cache the * result. */ public BoundingBox extendBoundingBox (final BoundingBox out, boolean transform) { final int partCount = parts.size; for (int i = 0; i < partCount; i++) { final NodePart part = parts.get(i); if (part.enabled) { final MeshPart meshPart = part.meshPart; if (transform) meshPart.mesh.extendBoundingBox(out, meshPart.offset, meshPart.size, globalTransform); else meshPart.mesh.extendBoundingBox(out, meshPart.offset, meshPart.size); } } final int childCount = children.size; for (int i = 0; i < childCount; i++) children.get(i).extendBoundingBox(out); return out; }
/** Extends the bounding box with the bounds of this Node. This is a potential slow operation, it is advised to cache the * result. */ public BoundingBox extendBoundingBox (final BoundingBox out, boolean transform) { final int partCount = parts.size; for (int i = 0; i < partCount; i++) { final NodePart part = parts.get(i); if (part.enabled) { final MeshPart meshPart = part.meshPart; if (transform) meshPart.mesh.extendBoundingBox(out, meshPart.offset, meshPart.size, globalTransform); else meshPart.mesh.extendBoundingBox(out, meshPart.offset, meshPart.size); } } final int childCount = children.size; for (int i = 0; i < childCount; i++) children.get(i).extendBoundingBox(out); return out; }
/** Extends the bounding box with the bounds of this Node. This is a potential slow operation, it is advised to cache the * result. */ public BoundingBox extendBoundingBox (final BoundingBox out) { return extendBoundingBox(out, true); }
/** Extends the bounding box with the bounds of this model instance. This is a potential slow operation, it is advised to cache * the result. * @param out the {@link BoundingBox} that will be extended with the bounds. * @return the out parameter for chaining */ public BoundingBox extendBoundingBox (final BoundingBox out) { final int n = nodes.size; for (int i = 0; i < n; i++) nodes.get(i).extendBoundingBox(out); return out; }
/** Calculate the bounding box of this Node. This is a potential slow operation, it is advised to cache the result. */ public BoundingBox calculateBoundingBox (final BoundingBox out, boolean transform) { out.inf(); return extendBoundingBox(out, transform); }
/** Extends the bounding box with the bounds of this model instance. This is a potential slow operation, it is advised to cache * the result. * @param out the {@link BoundingBox} that will be extended with the bounds. * @return the out parameter for chaining */ public BoundingBox extendBoundingBox (final BoundingBox out) { final int n = nodes.size; for (int i = 0; i < n; i++) nodes.get(i).extendBoundingBox(out); return out; }
/** Calculate the bounding box of this Node. This is a potential slow operation, it is advised to cache the result. */ public BoundingBox calculateBoundingBox (final BoundingBox out) { out.inf(); return extendBoundingBox(out); }
/** Extends the bounding box with the bounds of this Node. This is a potential slow operation, it is advised to cache the * result. */ public BoundingBox extendBoundingBox (final BoundingBox out, boolean transform) { final int partCount = parts.size; for (int i = 0; i < partCount; i++) { final NodePart part = parts.get(i); if (part.enabled) { final MeshPart meshPart = part.meshPart; if (transform) meshPart.mesh.extendBoundingBox(out, meshPart.offset, meshPart.size, globalTransform); else meshPart.mesh.extendBoundingBox(out, meshPart.offset, meshPart.size); } } final int childCount = children.size; for (int i = 0; i < childCount; i++) children.get(i).extendBoundingBox(out); return out; }