Showing 1 of 3 total issues
Function initSphere
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const initSphere = (scene) => {
const geo = new SphereGeometry(20, 16, 16);
const mat = new MeshBasicMaterial();
const mesh = new Mesh(geo, mat);
scene.add(mesh);