PerspectiveCamera
Camera with perspective projection.
const camera = new WHS.PerspectiveCamera({
camera: {
fov: 75,
aspect: window.innerWidth / window.innerHeight
},
position: {
x: 0,
y: 100,
z: 0
}
});
world.camera = camera;
Updated less than a minute ago