Skip to content

Commit

Permalink
Remove arbitrary camera position and target in PointCanvas constructo…
Browse files Browse the repository at this point in the history
…r (see #62)
  • Loading branch information
aganders3 committed Apr 5, 2024
1 parent f22c77b commit 8bbc90e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/PointCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ export class PointCanvas {
// Set up controls
this.controls = new OrbitControls(this.camera, this.renderer.domElement);
this.controls.autoRotateSpeed = 1;

const cameraPosition: Vector3 = new Vector3(500, 500, -1250);
const cameraTarget: Vector3 = new Vector3(500, 500, 250);
this.setCameraProperties(cameraPosition, cameraTarget);
}

// Use an arrow function so that each instance of the class is bound and
Expand Down

0 comments on commit 8bbc90e

Please sign in to comment.