# Merge Geometries

Let's import the [BufferGeometryUtils](https://threejs.org/docs/#examples/en/utils/BufferGeometryUtils).

```javascript
import { BufferGeometryUtils } from 'https://unpkg.com/three/examples/jsm/utils/BufferGeometryUtils.js';
```

We can create a simple object that will hold each `material group`**.**

```javascript
class MaterialGroup {
  constructor(material, bufferGeometries) {
    this.material = material;
    this.bufferGeometries = bufferGeometries;
  }
}
```

{% hint style="danger" %}
W\.I.P
{% endhint %}
