/**
 *
 * @param {BufferGeometry} target
 * @param {BufferGeometry} source
 */
export function geometry_copy(target, source) {
    target.index = source.index;
    for (let attributeName in source.attributes) {
        if (!source.attributes.hasOwnProperty(attributeName)) {
            continue;
        }

        target.attributes[attributeName] = source.attributes[attributeName];
    }
}