how to convert buffergeometry to geometry in Three.js

Viewed 247

I am trying to convert Buffergeometry to geometry. I am using three 0.134.0. And I tried like this. let geometryconvert = new THREE.Geometry().fromBufferGeometry(geometry);

But I have got this error.

Attempted import error: 'Geometry' is not exported from 'three' (imported as 'THREE').

What is the best way to convert buffergeometry to geometry.

1 Answers
Related