# THREE.Geometry() is out of date any new one?

**URL:** <https://discourse.threejs.org/t/three-geometry-is-out-of-date-any-new-one/39816>\
**Category:** Questions\
**Tags:** geometry\
**Created:** [June 30, 2022, 4:24am UTC](https://discourse.threejs.org/t/three-geometry-is-out-of-date-any-new-one/39816 "2022-06-30T04:24:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [June 30, 2022, 8:35am UTC](https://discourse.threejs.org/t/three-geometry-is-out-of-date-any-new-one/39816/4 "2022-06-30T08:35:01Z")

</div>

> [@Chaser\_Code](#):
>
> The deprecated `Geometry` class has been removed. Maybe use new `THREE.BufferGeometry()`

The code of the OP does not work with previous `three.js` version since `THREE.Geometry` has been moved out of the core since `r125`.

> [@THREE.Geometry will be removed from core with r125](https://discourse.threejs.org/t/three-geometry-will-be-removed-from-core-with-r125/22401):
>
> The upcoming release r125 will contain a major, potentially breaking change. The class THREE.Geometry will be no longer part of the core but moved to jsm/deprecated/Geometry.js. It will only be available as an ES6 module and not as a global script. What does that mean for me? If you are loading your assets with one of the official loaders like GLTFLoader or procedurally generate geometry data with THREE.BufferGeometry, this change won’t affect you. If you are using THREE.Geometry, please note …

`r141` just deleted the deprecated file in `examples/jsm/deprecated/Geometry.js`.

---

_[View the full topic](https://discourse.threejs.org/t/three-geometry-is-out-of-date-any-new-one/39816)._
