'BufferGeometryUtils' (imported as 'BufferGeometryUtils') was not found

Hi folks,

I’m using BufferGeometryUtils, but I’m getting this error

This is a Typescript React project. Three.js version : 0.139.2. Here is the code

Thank you in advance

Hi!
Try it this way: import * as BufferGeometryUtils from "three/examples/jsm/utils/BufferGeometryUtils";

1 Like

I tried with it. But I got the error too

BufferGeometryUtils.mergeBufferGeometries(array)
Is not an option?

1 Like

Yes, It didn’t work.

Any warnings or error messages in browser console?

BufferGeometryUtils.BufferGeometryUtils

Why do you use it two times?

1 Like