demoSrc/demo_simple.js
Function onDomContentsLoaded
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const onDomContentsLoaded = () => {
// シーンを作成
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(45, W / H, 1, 10000);
camera.position.set(0, 0, 1000);