Skip to content

Commit 11e9e07

Browse files
Mugen87RuthySheffi
authored andcommitted
LineSegments2: Fix typo. (mrdoob#30953)
1 parent ce8b39b commit 11e9e07

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/jsm/lines/webgpu/LineSegments2.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ function raycastWorldUnits( lineSegments, intersects ) {
9494
function raycastScreenSpace( lineSegments, camera, intersects ) {
9595

9696
const projectionMatrix = camera.projectionMatrix;
97-
const resolution = lineSegments.resolution;
9897
const matrixWorld = lineSegments.matrixWorld;
9998

99+
const resolution = lineSegments._resolution;
100+
100101
const geometry = lineSegments.geometry;
101102
const instanceStart = geometry.attributes.instanceStart;
102103
const instanceEnd = geometry.attributes.instanceEnd;

0 commit comments

Comments
 (0)