Buckets:
ktongue/docker_container / simsite /frontend /node_modules /three-mesh-bvh /src /utils /GeometryRayIntersectUtilities.js
| // converts the given BVH raycast intersection to align with the three.js raycast | |
| // structure (include object, world space distance and point). | |
| export function convertRaycastIntersect( hit, object, raycaster ) { | |
| if ( hit === null ) { | |
| return null; | |
| } | |
| hit.point.applyMatrix4( object.matrixWorld ); | |
| hit.distance = hit.point.distanceTo( raycaster.ray.origin ); | |
| hit.object = object; | |
| return hit; | |
| } | |
Xet Storage Details
- Size:
- 406 Bytes
- Xet hash:
- 52e7ecfa5252c2de6f674f0a8c2d4127f090af511a898fc111f3dfdc90434b10
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.