indices seems no longer exists. face and faceIndex will always be set.
When intersecting a Mesh with a BufferGeometry, the faceIndex will be undefined, and indices will be set; when intersecting a Mesh with a Geometry, indices will be undefined.
That's correct. Would you like to do a PR with the change? 馃槉
Also notice that for non-indexed BufferGeometry an additional property index is set. This should also be added in the docs.
@mrdoob @WestLangley The property index seems redundant since the value a is also assigned to faceIndex in checkBufferGeometryIntersection(). Should we consider to remove .index?
You can remove it and see if users complain.
@Mugen87 Sorry I'm not familiar with git and don't know how to do a PR, I'll learn it soon and try next time.Oh, We have jet lag for nearly 12 hours.
@vinstics Thanks for reporting the issue!
Most helpful comment
@Mugen87 Sorry I'm not familiar with git and don't know how to do a PR, I'll learn it soon and try next time.Oh, We have jet lag for nearly 12 hours.