Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tizayi committed Nov 9, 2023
1 parent f0fc481 commit c401c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/calculations/ray.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export class Ray {
if (tMin < 0) tMin = 0;
return new NumericRange(tMin, tMax);
}

/**
* Find where the ray insects with a circle.
*/
public getCircleIntersectionParameterRange(radius: number, centre: Vector2): NumericRange {
const diff = this.initial_point.clone().add(centre.multiplyScalar(-1));
const a = this.direction.dot(this.direction);
Expand Down
1 change: 0 additions & 1 deletion src/presets/presetManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export interface AppDataFormat extends BeamlineConfig {
detector: string;
beamstop: Beamstop;
cameraTube: CircularDevice;
addDetector:
}

export const detectorList = detectorData as Record<string, Detector>;
Expand Down

0 comments on commit c401c2b

Please sign in to comment.