()
| 76039 | }; |
| 76040 | var INITIAL_MODULE_OPTIONS = {}; |
| 76041 | function convertColor() { |
| 76042 | var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, _ref$color = _ref.color, color = _ref$color === void 0 ? [ |
| 76043 | 0, |
| 76044 | 0, |
| 76045 | 0 |
| 76046 | ] : _ref$color, _ref$intensity = _ref.intensity, intensity = _ref$intensity === void 0 ? 1.0 : _ref$intensity; |
| 76047 | return color.map(function(component) { |
| 76048 | return component * intensity / 255.0; |
| 76049 | }); |
| 76050 | } |
| 76051 | function getLightSourceUniforms(_ref2) { |
| 76052 | var ambientLight = _ref2.ambientLight, _ref2$pointLights = _ref2.pointLights, pointLights = _ref2$pointLights === void 0 ? [] : _ref2$pointLights, _ref2$directionalLigh = _ref2.directionalLights, directionalLights = _ref2$directionalLigh === void 0 ? [] : _ref2$directionalLigh; |
| 76053 | var lightSourceUniforms = {}; |
no outgoing calls
no test coverage detected