window.addEventListener('resize', onWindowResize);
function onWindowResize(){
camera.aspect = window.innerWidth / window.innerHeight ;
camera.updateProjectionMatrix();
renderer.setSize( winow.innerWidth, window.innerHeight );
}
touch event - @react-three/fiber (2) | 2024.11.23 |
---|---|
video backgorund with @react-three/fibre (1) | 2024.11.22 |
lookAt(), getWorldDirection() (1) | 2024.11.21 |
Capsule class (2) | 2024.11.21 |
Octree (0) | 2024.11.21 |