Skip to content

Commit 7b76d9a

Browse files
committed
docs(events): note reproject also falls back when the plane is behind the ray
1 parent 6660934 commit 7b76d9a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/pointers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ export class Pointer {
155155
/**
156156
* The forced intersection for a captured pointer: intersect the live ray with
157157
* the stored plane for a fresh `point`/`distance`, keeping the original hit's
158-
* `face`/`uv`/`object`. Falls back to the stored hit if the ray is parallel.
158+
* `face`/`uv`/`object`. Falls back to the stored hit when there's no forward
159+
* intersection — the ray is parallel to, or points away from, the plane.
159160
*/
160161
private reproject(captured: Captured): Intersection {
161162
this.raycaster.aim(this.context)

0 commit comments

Comments
 (0)