gkjohnson / three-mesh-bvh

A BVH implementation to speed up raycasting and enable spatial queries against three.js meshes.
https://gkjohnson.github.io/three-mesh-bvh/example/bundle/raycast.html
MIT License
2.39k stars 247 forks source link

latest threejs master removed 'RGBFormat' r137dev #372

Closed arpu closed 2 years ago

arpu commented 2 years ago

export 'RGBFormat' (imported as 'RGBFormat') was not found in 'three' i think this can be simple removed ( using RGBAFormat)

gkjohnson commented 2 years ago

Great! Thanks for the heads up. Would you like to try making a PR that resolves the issue for r137?

arpu commented 2 years ago

Hey, first try on this ->

https://github.com/gkjohnson/three-mesh-bvh/pull/374

arpu commented 2 years ago

looks like there is still a reference in https://github.com/gkjohnson/three-mesh-bvh/blob/master/src/gpu/MeshBVHUniformStruct.js#L5