fix distance in rayPicking

This commit is contained in:
pissang 2023-02-09 15:49:58 +08:00
parent f5e6533c92
commit 802fb28c6d

View File

@ -206,7 +206,7 @@ function intersectRenderable(
renderable,
[i1, i2, i3],
i / 3,
Vector3.dist(pointW, ray.origin)
Vector3.dist(pointW, rawRay.origin)
)
);
}