carlmw/gitlactica

View on GitHub
adapters/webgl/star.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

module.exports = function Star (scene, x, y, z, tex1, tex2, tex3) {
  var pos = new THREE.Vector3(x, y, z);

  addLight(pos);
  addFlare(0.55, 0.9, 0.5, pos);
Severity: Minor
Found in adapters/webgl/star.js - About 1 hr to fix

    Function exports has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    module.exports = function Star (scene, x, y, z, tex1, tex2, tex3) {
    Severity: Major
    Found in adapters/webgl/star.js - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status