MasatoMakino/threejs-texture-switching-loader

View on GitHub

Showing 1 of 3 total issues

Function initSphere has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const initSphere = (scene) => {
  const geo = new SphereGeometry(20, 16, 16);
  const mat = new MeshBasicMaterial();
  const mesh = new Mesh(geo, mat);
  scene.add(mesh);
Severity: Minor
Found in demoSrc/demo.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language