mirror of
https://github.com/pissang/claygl.git
synced 2026-02-01 17:27:08 +00:00
fix distance in rayPicking
This commit is contained in:
parent
f5e6533c92
commit
802fb28c6d
@ -206,7 +206,7 @@ function intersectRenderable(
|
||||
renderable,
|
||||
[i1, i2, i3],
|
||||
i / 3,
|
||||
Vector3.dist(pointW, ray.origin)
|
||||
Vector3.dist(pointW, rawRay.origin)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user