Open iamnotstone opened 6 years ago
Ah yes, good find :)
I think a fix should also consider perhaps giving the option (or just doing) to update vertices immediately instead of setting verticesNeedUpdate
, for example there may be cases where computeBoundingSphere
may be called before a vertex update so it'd be one frame out of date
As the title. I met this problem when I update a element's vertices. The bounding sphere do not updated as I updating the vertices. This cause a geometry may 'disappear' as Three.js's frustum check boundingSphere for rendering. I found this problem and fixed it by change your code in './src/lib/descriptors/Geometry/GeometryDescriptor.js' below:
This solution works for me. And I think there are also the same problems in other descriptors