/**
 *
 * @param {BinaryBuffer} buffer
 * @param {AABB3} box
 */
function deserializeAABB3(buffer, box) {
    const x0 = buffer.readFloat64();
    const y0 = buffer.readFloat64();
    const z0 = buffer.readFloat64();
    const x1 = buffer.readFloat64();
    const y1 = buffer.readFloat64();
    const z1 = buffer.readFloat64();

    box.setBounds(x0, y0, z0, x1, y1, z1);
}

export { deserializeAABB3 };
