adapters/webgl/star.js
Function Star
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);
Function exports
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
module.exports = function Star (scene, x, y, z, tex1, tex2, tex3) {