Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LineSegments2: Fix raycast(). #1434

Merged
merged 2 commits into from
Dec 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading