mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
update angle
This commit is contained in:
parent
587d123fce
commit
cbc9e9419c
@ -134,7 +134,7 @@ function init(canvas_id, url) {
|
||||
// --- Scene ---
|
||||
const aspect = canvas.clientWidth / canvas.clientHeight;
|
||||
let camera = new THREE.PerspectiveCamera( 30, aspect, 0.01, 40 );
|
||||
camera.position.set( 0, 0, 5);
|
||||
camera.position.set( -2, 2, 3);
|
||||
camera.lookAt(0, 0, 0);
|
||||
|
||||
// --- Renderer (use the existing canvas) ---
|
||||
|
Loading…
x
Reference in New Issue
Block a user