aframe
aframe copied to clipboard
fix appearance of raycaster (fixes aframevr#4882)
Description: Fixes issue aframevr#4882
Changes proposed:
- make unitLineEndVec3 in raycaster.js store the normalized direction instead of the normalized direction plus origin
- make the raycaster's line's endpoint be equal to unitLineEndVec3 times the length plus the origin