lib/renders.js
Function draw_model
has 111 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exp.draw_model = function(rid, img, scale, overlay, is_body, slim, callback) {
var canvas = cvs.createCanvas();
canvas.width = scale * 20;
canvas.height = scale * (is_body ? 45.1 : 18.5);
Function draw_model
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
exp.draw_model = function(rid, img, scale, overlay, is_body, slim, callback) {
Function getPart
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function getPart(src, x, y, width, height, scale) {