|
|
@@ -94,9 +94,10 @@ function raycastWorldUnits( lineSegments, intersects ) {
|
|
|
function raycastScreenSpace( lineSegments, camera, intersects ) {
|
|
|
|
|
|
const projectionMatrix = camera.projectionMatrix;
|
|
|
- const resolution = lineSegments.resolution;
|
|
|
const matrixWorld = lineSegments.matrixWorld;
|
|
|
|
|
|
+ const resolution = lineSegments._resolution;
|
|
|
+
|
|
|
const geometry = lineSegments.geometry;
|
|
|
const instanceStart = geometry.attributes.instanceStart;
|
|
|
const instanceEnd = geometry.attributes.instanceEnd;
|