All files / construct/domain_layer/domain/scene/scene_graph/service/geometry TangentsGeometryDoService.bs.js

100% Statements 7/7
100% Branches 0/0
100% Functions 1/1
100% Lines 7/7

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    17x 17x 17x 17x 17x     44x     17x    
'use strict';
 
var Curry = require("bs-platform/lib/js/curry.js");
var OptionSt$Wonderjs = require("../../../../../library/structure/OptionSt.bs.js");
var TangentsVO$Wonderjs = require("../../value_object/TangentsVO.bs.js");
var DpContainer$Wonderjs = require("../../../../../dependency/container/DpContainer.bs.js");
var GeometryEntity$Wonderjs = require("../../entity/GeometryEntity.bs.js");
 
function getTangents(geometry) {
  return OptionSt$Wonderjs.map(Curry._1(DpContainer$Wonderjs.unsafeGetGeometryRepoDp(undefined).getTangents, GeometryEntity$Wonderjs.value(geometry)), TangentsVO$Wonderjs.create);
}
 
exports.getTangents = getTangents;
/* No side effect */