# Plane intersects mesh with three.js r125

**URL:** <https://discourse.threejs.org/t/plane-intersects-mesh-with-three-js-r125/34543>\
**Category:** Questions\
**Tags:** intersection, geometry\
**Created:** [February 5, 2022, 6:32pm UTC](https://discourse.threejs.org/t/plane-intersects-mesh-with-three-js-r125/34543 "2022-02-05T18:32:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![hofk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/hofk/32/44944_2.png) [@hofk](https://discourse.threejs.org/u/hofk)\
**Post date:** [February 5, 2022, 7:50pm UTC](https://discourse.threejs.org/t/plane-intersects-mesh-with-three-js-r125/34543/3 "2022-02-05T19:50:18Z")

</div>

When I started with three.js, I implemented my first addon ( [Addon. Produces almost infinite many time-varying geometries with functions](https://discourse.threejs.org/t/addon-produces-almost-infinite-many-time-varying-geometries-with-functions/262)) with the old geometry. After being told that this geometry will not last forever, I ported to both indexed and non-indexed BufferGeometry.

Maybe the direct comparison of the variants helps, although I didn’t use the requested line. It is very nested. You may have to break it down into its parts in the old variant first.

Code at [https://github.com/hofk/THREEf.js/blob/cc28a353fe8e3a6e98956dc299d1762b178ad452/THREEf\_90/THREEf.js](https://github.com/hofk/THREEf.js/blob/cc28a353fe8e3a6e98956dc299d1762b178ad452/THREEf_90/THREEf.js)

This is the grouping of variants, folded in my editor. The line numbers match.

![2022-02-05 20.32.42](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/e/c/ec2c3288a9dbcbe69dcd0a84b8e1f9d0d2a9a0cc.png)

![2022-02-05 20.34.59](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/6/d/6dc5c8556a5fcb9299936e19e1e8a07e34f17802.png)

 ![2022-02-05 20.36.26](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/9/7/97da944e4201d796ccd96aebb9d13e966d8e78e7.png)

---

_[View the full topic](https://discourse.threejs.org/t/plane-intersects-mesh-with-three-js-r125/34543)._
