Skip to content

Commit

Permalink
Update LineView.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nilscognite committed Aug 21, 2024
1 parent 89e22df commit 024adee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class LineView extends GroupThreeView<LineDomainObject> {
const thisPoint = new Vector3();
const intersection = new Vector3();

const radiusSquared = square(radius); // Add more to make it easier to pick
const radiusSquared = square(radius);
const ray = intersectInput.raycaster.ray;
const closestFinder = new ClosestGeometryFinder<DomainObjectIntersection>(ray.origin);

Expand Down Expand Up @@ -343,5 +343,5 @@ function getRadius(domainObject: LineDomainObject, style: LineRenderStyle): numb
}

function getSelectRadius(domainObject: LineDomainObject, style: LineRenderStyle): number {
return 1.5 * style.selectedPipeRadius;
return 1.5 * style.selectedPipeRadius; // Added more to make it easier to pick
}

0 comments on commit 024adee

Please sign in to comment.