|
@ -5,11 +5,11 @@ function createCamera() { |
|
|
35, // fov = Field Of View
|
|
|
35, // fov = Field Of View
|
|
|
1, // aspect ratio (dummy value)
|
|
|
1, // aspect ratio (dummy value)
|
|
|
0.1, // near clipping plane
|
|
|
0.1, // near clipping plane
|
|
|
100 // far clipping plane
|
|
|
300 // far clipping plane
|
|
|
); |
|
|
); |
|
|
|
|
|
|
|
|
// move the camera back so we can view the scene
|
|
|
// move the camera back so we can view the scene
|
|
|
camera.position.set(0, 10, 30); |
|
|
camera.position.set(0, 100, 200); |
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
|
camera.tick = () => {}; |
|
|
camera.tick = () => {}; |
|
|
|
|
|
|
|
|