All files / run/cloud_picture/external_layer/api DirectorCPAPI.bs.js

100% Statements 14/14
50% Branches 5/10
100% Functions 4/4
100% Lines 14/14

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31    17x     102x 102x 102x 102x 102x 102x       88x       44x       15x     17x 17x 17x 17x    
'use strict';
 
var DirectorCPApService$Wonderjs = require("../../application_layer/DirectorCPApService.bs.js");
 
function prepare(pictureSize, sampleCount, transformCountOpt, geometryPointCountOpt, geometryCountOpt, bsdfMaterialCountOpt, directionLightCountOpt, param) {
  var transformCount = transformCountOpt !== undefined ? transformCountOpt : 10000;
  var geometryPointCount = geometryPointCountOpt !== undefined ? geometryPointCountOpt : 10000;
  var geometryCount = geometryCountOpt !== undefined ? geometryCountOpt : 10000;
  var bsdfMaterialCount = bsdfMaterialCountOpt !== undefined ? bsdfMaterialCountOpt : 2000000;
  var directionLightCount = directionLightCountOpt !== undefined ? directionLightCountOpt : 1;
  return DirectorCPApService$Wonderjs.prepare(pictureSize, sampleCount, transformCount, geometryPointCount, geometryCount, bsdfMaterialCount, directionLightCount);
}
 
function init(param) {
  return DirectorCPApService$Wonderjs.init(undefined);
}
 
function update(param) {
  return DirectorCPApService$Wonderjs.update(undefined);
}
 
function render(param) {
  return DirectorCPApService$Wonderjs.render(undefined);
}
 
exports.prepare = prepare;
exports.init = init;
exports.update = update;
exports.render = render;
/* DirectorCPApService-Wonderjs Not a pure module */