@thewtex/vtk.js-esm
Version:
Visualization Toolkit for the Web
19 lines (14 loc) • 553 B
JavaScript
import macro from '../../../macro.js';
var DEFAULT_VALUES = {
scale1: 0.5
}; // ----------------------------------------------------------------------------
function extend(publicAPI, model) {
var initialValues = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
Object.assign(model, DEFAULT_VALUES, initialValues);
macro.setGet(publicAPI, model, ['scale1']);
} // ----------------------------------------------------------------------------
var scale1 = {
extend: extend
};
export default scale1;
export { extend };