Skip to content

Commit

Permalink
LineSegments2: Fix raycast().
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Dec 15, 2024
1 parent 10cc7d1 commit 123c7d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion types/three/examples/jsm/lines/LineSegments2.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Mesh, WebGLRenderer } from "three";
import { Mesh, Vector2, WebGLRenderer } from 'three';

import { LineMaterial } from "./LineMaterial.js";
import { LineSegmentsGeometry } from "./LineSegmentsGeometry.js";
Expand All @@ -18,6 +18,8 @@ export class LineSegments2 extends Mesh {
*/
readonly isLineSegments2: true;

resolution: Vector2;

/**
* @param geometry (optional) Pair(s) of vertices representing each line segment.
* @param material (optional) Material for the line. Default is a {@link LineMaterial} with random color.
Expand Down

0 comments on commit 123c7d5

Please sign in to comment.