@tomaso909/js3d 1.2.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.obf.js CHANGED
@@ -1 +1 @@
1
- function a0_0x4adb(_0x2e032e,_0x46a9d0){const _0x2ad8e3=a0_0x2ad8();return a0_0x4adb=function(_0x4adb4d,_0x3849b9){_0x4adb4d=_0x4adb4d-0x86;let _0x492973=_0x2ad8e3[_0x4adb4d];return _0x492973;},a0_0x4adb(_0x2e032e,_0x46a9d0);}const a0_0x258258=a0_0x4adb;(function(_0xd25541,_0x1c2e1e){const _0x3854e5=a0_0x4adb,_0xfdd957=_0xd25541();while(!![]){try{const _0x5cdde1=-parseInt(_0x3854e5(0x9b))/0x1*(-parseInt(_0x3854e5(0x89))/0x2)+-parseInt(_0x3854e5(0x88))/0x3*(parseInt(_0x3854e5(0x87))/0x4)+-parseInt(_0x3854e5(0x9c))/0x5*(-parseInt(_0x3854e5(0xa9))/0x6)+parseInt(_0x3854e5(0x95))/0x7*(-parseInt(_0x3854e5(0x9d))/0x8)+parseInt(_0x3854e5(0xa5))/0x9+-parseInt(_0x3854e5(0x99))/0xa*(-parseInt(_0x3854e5(0xa0))/0xb)+parseInt(_0x3854e5(0x92))/0xc*(-parseInt(_0x3854e5(0x94))/0xd);if(_0x5cdde1===_0x1c2e1e)break;else _0xfdd957['push'](_0xfdd957['shift']());}catch(_0x171035){_0xfdd957['push'](_0xfdd957['shift']());}}}(a0_0x2ad8,0xd2c70));var w={'length':function(_0x4d76f7){return Math['sqrt'](_0x4d76f7[0x0]**0x2+_0x4d76f7[0x1]**0x2+_0x4d76f7[0x2]**0x2);},'scalarProduct':function(_0x5a11b1,_0x45989c){return[_0x5a11b1[0x0]*_0x45989c,_0x5a11b1[0x1]*_0x45989c,_0x5a11b1[0x2]*_0x45989c];},'dot':function(_0x5008bf,_0x5e23a1){return _0x5008bf[0x0]*_0x5e23a1[0x0]+_0x5008bf[0x1]*_0x5e23a1[0x1]+_0x5008bf[0x2]*_0x5e23a1[0x2];},'angle':function(_0x3577c2,_0x22c65b){const _0x54fb03=a0_0x4adb;let _0x34bd91=this[_0x54fb03(0x8f)](_0x3577c2,_0x22c65b)/(this[_0x54fb03(0xa8)](_0x3577c2)*this[_0x54fb03(0xa8)](_0x22c65b));return _0x34bd91!=0x0?Math['acos'](_0x34bd91):0x0;},'sub':function(_0x22ca07,_0x412db7){return[_0x22ca07[0x0]-_0x412db7[0x0],_0x22ca07[0x1]-_0x412db7[0x1],_0x22ca07[0x2]-_0x412db7[0x2]];},'add':function(_0x484d1e,_0x21eda9){return[_0x484d1e[0x0]+_0x21eda9[0x0],_0x484d1e[0x1]+_0x21eda9[0x1],_0x484d1e[0x2]+_0x21eda9[0x2]];},'rotate':function(_0x3d0cba,_0x54dc6f,_0x5c3cdf){const _0x51f3de=a0_0x4adb;let _0x3847df=Math[_0x51f3de(0xa3)](_0x5c3cdf),_0x14b8ee=Math[_0x51f3de(0x91)](_0x3847df),_0x57d64f=Math[_0x51f3de(0x98)](_0x3847df),_0x4cab30=_0x3d0cba[0x0],_0x286375=_0x3d0cba[0x1],_0x222b2a=_0x3d0cba[0x2],_0x5e7d8d=_0x54dc6f[0x0],_0x35f87e=_0x54dc6f[0x1],_0x20c3cd=_0x54dc6f[0x2],_0x2349e4=_0x5e7d8d*_0x4cab30+_0x35f87e*_0x286375+_0x20c3cd*_0x222b2a,_0x1640d2=_0x5e7d8d*_0x2349e4*(0x1-_0x14b8ee)+_0x4cab30*_0x14b8ee+(-_0x20c3cd*_0x286375+_0x35f87e*_0x222b2a)*_0x57d64f,_0x9d8909=_0x35f87e*_0x2349e4*(0x1-_0x14b8ee)+_0x286375*_0x14b8ee+(_0x20c3cd*_0x4cab30-_0x5e7d8d*_0x222b2a)*_0x57d64f,_0x39ac14=_0x20c3cd*_0x2349e4*(0x1-_0x14b8ee)+_0x222b2a*_0x14b8ee+(-_0x35f87e*_0x4cab30+_0x5e7d8d*_0x286375)*_0x57d64f;return[_0x1640d2,_0x9d8909,_0x39ac14];},'fromTwoPoints':function(_0x3cbd50,_0x22dee5){return[_0x22dee5[0x0]-_0x3cbd50[0x0],_0x22dee5[0x1]-_0x3cbd50[0x1],_0x22dee5[0x2]-_0x3cbd50[0x2]];},'normalized':function(_0x28f828){const _0x528447=a0_0x4adb;return w[_0x528447(0x8d)](_0x28f828,0x1/w['length'](_0x28f828));}},g={'distance':function(_0x1b78d0,_0x511df9){return w['length'](w['sub'](_0x511df9,_0x1b78d0));},'move':function(_0x317a8c,_0x3d9795){const _0x400f3c=a0_0x4adb;return w[_0x400f3c(0xa1)](_0x317a8c,_0x3d9795);},'scale':function(_0x3cbdd2,_0x2610e9,_0x3dc93d){const _0x5d3297=a0_0x4adb;return _0x3dc93d!=null&&(_0x3cbdd2=this[_0x5d3297(0xa4)](_0x3cbdd2,w[_0x5d3297(0x8d)](_0x3dc93d,-0x1))),_0x3cbdd2=w[_0x5d3297(0x8d)](_0x3cbdd2,_0x2610e9),_0x3dc93d!=null&&(_0x3cbdd2=this[_0x5d3297(0xa4)](_0x3cbdd2,_0x3dc93d)),_0x3cbdd2;},'rotate':function(_0x39f08,_0xa83c70,_0x46a206,_0x45b61c){const _0x502122=a0_0x4adb;let _0x14a40c=_0x46a206*Math['PI']/0xb4,_0x6a4a0c=Math[_0x502122(0x91)](_0x14a40c),_0x16af1c=Math[_0x502122(0x98)](_0x14a40c),_0x4f7234=_0x39f08[0x0],_0x5956fd=_0x39f08[0x1],_0x15f47f=_0x39f08[0x2];_0x45b61c!=null&&(_0x4f7234=_0x4f7234-_0x45b61c[0x0],_0x5956fd=_0x5956fd-_0x45b61c[0x1],_0x15f47f=_0x15f47f-_0x45b61c[0x2]);let _0x16cfc8=_0xa83c70[0x0],_0x52ba59=_0xa83c70[0x1],_0x4d2b99=_0xa83c70[0x2],_0x31ceea=_0x16cfc8*_0x4f7234+_0x52ba59*_0x5956fd+_0x4d2b99*_0x15f47f,_0x269e69=_0x16cfc8*_0x31ceea*(0x1-_0x6a4a0c)+_0x4f7234*_0x6a4a0c+(-_0x4d2b99*_0x5956fd+_0x52ba59*_0x15f47f)*_0x16af1c,_0xf8b16c=_0x52ba59*_0x31ceea*(0x1-_0x6a4a0c)+_0x5956fd*_0x6a4a0c+(_0x4d2b99*_0x4f7234-_0x16cfc8*_0x15f47f)*_0x16af1c,_0xc87336=_0x4d2b99*_0x31ceea*(0x1-_0x6a4a0c)+_0x15f47f*_0x6a4a0c+(-_0x52ba59*_0x4f7234+_0x16cfc8*_0x5956fd)*_0x16af1c,_0x21dbe7=[_0x269e69,_0xf8b16c,_0xc87336];return _0x45b61c!=null&&(_0x21dbe7[0x0]=_0x21dbe7[0x0]+_0x45b61c[0x0],_0x21dbe7[0x1]=_0x21dbe7[0x1]+_0x45b61c[0x1],_0x21dbe7[0x2]=_0x21dbe7[0x2]+_0x45b61c[0x2]),_0x21dbe7;}},E={'from_control_points':function(_0xf74b8d,_0x3fa419,_0x2ecd44,_0x4b3b73){const _0x400a50=a0_0x4adb;_0x2ecd44==null&&(_0x2ecd44=0x64);let _0x1d6c92=0x1/_0x2ecd44,_0x22e206=[..._0xf74b8d];if(_0x4b3b73==null){let _0x276754=_0x22e206[_0x400a50(0xa8)]+_0x3fa419+0x1;_0x4b3b73=[];let _0x2227fe=_0x276754-(_0x3fa419+0x1)*0x2;for(var _0x4d3bbc=0x0;_0x4d3bbc<_0x3fa419+0x1;_0x4d3bbc++)_0x4b3b73[_0x400a50(0x9f)](0x0);for(var _0x4d3bbc=0x0;_0x4d3bbc<_0x2227fe;_0x4d3bbc++)_0x4b3b73[_0x400a50(0x9f)](_0x4d3bbc+0x1);let _0x2e0e62=_0x4b3b73[_0x4b3b73[_0x400a50(0xa8)]-0x1]+0x1;for(var _0x4d3bbc=0x0;_0x4d3bbc<_0x3fa419+0x1;_0x4d3bbc++)_0x4b3b73[_0x400a50(0x9f)](_0x2e0e62);}let _0x4b32a8=[];for(var _0x281079=0x0;_0x281079<0x1;_0x281079+=_0x1d6c92)_0x4b32a8[_0x400a50(0x9f)](_(_0x281079,_0x3fa419,_0x22e206,_0x4b3b73));return _0x4b32a8[_0x400a50(0x9f)](_(0x1,_0x3fa419,_0x22e206,_0x4b3b73)),_0x4b32a8;}};function _(_0x2e0a30,_0x32cb73,_0x49a1f2,_0x268145,_0x29d2dd,_0x46260e){const _0x4ab0e3=a0_0x4adb;var _0x3918d9,_0x3dd61f,_0x1d0369,_0x44e37c,_0x2774fc=_0x49a1f2['length'],_0x405065=_0x49a1f2[0x0][_0x4ab0e3(0xa8)];if(_0x32cb73<0x1)throw new Error(_0x4ab0e3(0xa2));if(_0x32cb73>_0x2774fc-0x1)throw new Error(_0x4ab0e3(0x8a));if(!_0x29d2dd){for(_0x29d2dd=[],_0x3918d9=0x0;_0x3918d9<_0x2774fc;_0x3918d9++)_0x29d2dd[_0x3918d9]=0x1;}if(_0x268145){if(_0x268145[_0x4ab0e3(0xa8)]!==_0x2774fc+_0x32cb73+0x1)throw new Error('bad\x20knot\x20vector\x20length');}else{var _0x268145=[];for(_0x3918d9=0x0;_0x3918d9<_0x2774fc+_0x32cb73+0x1;_0x3918d9++)_0x268145[_0x3918d9]=_0x3918d9;}var _0x191973=[_0x32cb73,_0x268145[_0x4ab0e3(0xa8)]-0x1-_0x32cb73],_0x14885e=_0x268145[_0x191973[0x0]],_0x28f7da=_0x268145[_0x191973[0x1]];if(_0x2e0a30=_0x2e0a30*(_0x28f7da-_0x14885e)+_0x14885e,_0x2e0a30<_0x14885e||_0x2e0a30>_0x28f7da)throw new Error('out\x20of\x20bounds');for(_0x1d0369=_0x191973[0x0];_0x1d0369<_0x191973[0x1]&&!(_0x2e0a30>=_0x268145[_0x1d0369]&&_0x2e0a30<=_0x268145[_0x1d0369+0x1]);_0x1d0369++);var _0x386dd6=[];for(_0x3918d9=0x0;_0x3918d9<_0x2774fc;_0x3918d9++){for(_0x386dd6[_0x3918d9]=[],_0x3dd61f=0x0;_0x3dd61f<_0x405065;_0x3dd61f++)_0x386dd6[_0x3918d9][_0x3dd61f]=_0x49a1f2[_0x3918d9][_0x3dd61f]*_0x29d2dd[_0x3918d9];_0x386dd6[_0x3918d9][_0x405065]=_0x29d2dd[_0x3918d9];}var _0x25b284;for(_0x44e37c=0x1;_0x44e37c<=_0x32cb73+0x1;_0x44e37c++)for(_0x3918d9=_0x1d0369;_0x3918d9>_0x1d0369-_0x32cb73-0x1+_0x44e37c;_0x3918d9--)for(_0x25b284=(_0x2e0a30-_0x268145[_0x3918d9])/(_0x268145[_0x3918d9+_0x32cb73+0x1-_0x44e37c]-_0x268145[_0x3918d9]),_0x3dd61f=0x0;_0x3dd61f<_0x405065+0x1;_0x3dd61f++)_0x386dd6[_0x3918d9][_0x3dd61f]=(0x1-_0x25b284)*_0x386dd6[_0x3918d9-0x1][_0x3dd61f]+_0x25b284*_0x386dd6[_0x3918d9][_0x3dd61f];var _0x46260e=_0x46260e||[];for(_0x3918d9=0x0;_0x3918d9<_0x405065;_0x3918d9++)_0x46260e[_0x3918d9]=_0x386dd6[_0x1d0369][_0x3918d9]/_0x386dd6[_0x1d0369][_0x405065];return _0x46260e;}var R={'_gaussJ':{'solve':function(_0x5bda97,_0x79805f){const _0x226f0c=a0_0x4adb;let _0x3fb285=_0x5bda97['length'];for(let _0x85e4e3=0x0;_0x85e4e3<_0x3fb285;_0x85e4e3++){let _0x5366b5=0x0,_0x5e86ec=Number[_0x226f0c(0x96)];for(let _0x2312a9=_0x85e4e3;_0x2312a9<_0x3fb285;_0x2312a9++)Math[_0x226f0c(0x86)](_0x5bda97[_0x2312a9][_0x85e4e3])>_0x5e86ec&&(_0x5366b5=_0x2312a9,_0x5e86ec=Math[_0x226f0c(0x86)](_0x5bda97[_0x2312a9][_0x85e4e3]));this[_0x226f0c(0x9e)](_0x5bda97,_0x85e4e3,_0x5366b5);for(let _0x342616=_0x85e4e3+0x1;_0x342616<_0x3fb285;_0x342616++){let _0x580fff=_0x5bda97[_0x342616][_0x85e4e3]/_0x5bda97[_0x85e4e3][_0x85e4e3];for(let _0x1cf738=_0x85e4e3;_0x1cf738<_0x3fb285+0x1;_0x1cf738++)_0x5bda97[_0x342616][_0x1cf738]-=_0x5bda97[_0x85e4e3][_0x1cf738]*_0x580fff;}}for(let _0x329c94=_0x3fb285-0x1;_0x329c94>=0x0;_0x329c94--){let _0x27d0d7=_0x5bda97[_0x329c94][_0x3fb285]/_0x5bda97[_0x329c94][_0x329c94];_0x79805f[_0x329c94]=_0x27d0d7;for(let _0x2ea54b=_0x329c94-0x1;_0x2ea54b>=0x0;_0x2ea54b--)_0x5bda97[_0x2ea54b][_0x3fb285]-=_0x5bda97[_0x2ea54b][_0x329c94]*_0x27d0d7,_0x5bda97[_0x2ea54b][_0x329c94]=0x0;}},'zerosMat':function(_0xb821c3,_0x5ca15b){const _0x20a0e1=a0_0x4adb;let _0x2a6598=[];for(let _0x515215=0x0;_0x515215<_0xb821c3;_0x515215++)_0x2a6598[_0x20a0e1(0x9f)](new Array(_0x5ca15b)['fill'](0x0));return _0x2a6598;},'printMat':function(_0x2f88ed){const _0x51f20b=a0_0x4adb;_0x2f88ed[_0x51f20b(0x90)](_0x1ab994=>console[_0x51f20b(0xa6)](_0x1ab994));},'swapRows':function(_0x102ad3,_0x574883,_0x26307d){let _0x43af64=_0x102ad3[_0x574883];_0x102ad3[_0x574883]=_0x102ad3[_0x26307d],_0x102ad3[_0x26307d]=_0x43af64;}},'getNaturalKs':function(_0x56c5ff,_0x4ec10e,_0xa71394){const _0x15cbff=a0_0x4adb;let _0x57371d=_0x56c5ff[_0x15cbff(0xa8)]-0x1,_0x49d169=this[_0x15cbff(0x8b)][_0x15cbff(0x8e)](_0x57371d+0x1,_0x57371d+0x2);for(let _0x1e8cd6=0x1;_0x1e8cd6<_0x57371d;_0x1e8cd6++)_0x49d169[_0x1e8cd6][_0x1e8cd6-0x1]=0x1/(_0x56c5ff[_0x1e8cd6]-_0x56c5ff[_0x1e8cd6-0x1]),_0x49d169[_0x1e8cd6][_0x1e8cd6]=0x2*(0x1/(_0x56c5ff[_0x1e8cd6]-_0x56c5ff[_0x1e8cd6-0x1])+0x1/(_0x56c5ff[_0x1e8cd6+0x1]-_0x56c5ff[_0x1e8cd6])),_0x49d169[_0x1e8cd6][_0x1e8cd6+0x1]=0x1/(_0x56c5ff[_0x1e8cd6+0x1]-_0x56c5ff[_0x1e8cd6]),_0x49d169[_0x1e8cd6][_0x57371d+0x1]=0x3*((_0x4ec10e[_0x1e8cd6]-_0x4ec10e[_0x1e8cd6-0x1])/(_0x56c5ff[_0x1e8cd6]-_0x56c5ff[_0x1e8cd6-0x1])**0x2+(_0x4ec10e[_0x1e8cd6+0x1]-_0x4ec10e[_0x1e8cd6])/(_0x56c5ff[_0x1e8cd6+0x1]-_0x56c5ff[_0x1e8cd6])**0x2);_0x49d169[0x0][0x0]=0x2/(_0x56c5ff[0x1]-_0x56c5ff[0x0]),_0x49d169[0x0][0x1]=0x1/(_0x56c5ff[0x1]-_0x56c5ff[0x0]),_0x49d169[0x0][_0x57371d+0x1]=0x3*(_0x4ec10e[0x1]-_0x4ec10e[0x0])/(_0x56c5ff[0x1]-_0x56c5ff[0x0])**0x2,_0x49d169[_0x57371d][_0x57371d-0x1]=0x1/(_0x56c5ff[_0x57371d]-_0x56c5ff[_0x57371d-0x1]),_0x49d169[_0x57371d][_0x57371d]=0x2/(_0x56c5ff[_0x57371d]-_0x56c5ff[_0x57371d-0x1]),_0x49d169[_0x57371d][_0x57371d+0x1]=0x3*(_0x4ec10e[_0x57371d]-_0x4ec10e[_0x57371d-0x1])/(_0x56c5ff[_0x57371d]-_0x56c5ff[_0x57371d-0x1])**0x2,this[_0x15cbff(0x8b)][_0x15cbff(0x93)](_0x49d169,_0xa71394);},'from_control_points':function(_0x288ed4,_0x573608){const _0x5de26a=a0_0x4adb;let _0x823c6f=_0x573608[_0x5de26a(0x97)](_0x4334a2=>_0x4334a2[0x0]),_0x4b3ab6=_0x573608[_0x5de26a(0x97)](_0x192508=>_0x192508[0x1]),_0x1ca876=new Array(_0x823c6f[_0x5de26a(0xa8)])[_0x5de26a(0x9a)](0x0);this[_0x5de26a(0xa7)](_0x823c6f,_0x4b3ab6,_0x1ca876);let _0x3cf85b=[];for(let _0x20f04c of _0x288ed4){let _0x505bfc=0x1;for(;_0x823c6f[_0x505bfc]<_0x20f04c;)_0x505bfc++;let _0x2750ea=(_0x20f04c-_0x823c6f[_0x505bfc-0x1])/(_0x823c6f[_0x505bfc]-_0x823c6f[_0x505bfc-0x1]),_0xedf560=_0x1ca876[_0x505bfc-0x1]*(_0x823c6f[_0x505bfc]-_0x823c6f[_0x505bfc-0x1])-(_0x4b3ab6[_0x505bfc]-_0x4b3ab6[_0x505bfc-0x1]),_0x32f2e7=-_0x1ca876[_0x505bfc]*(_0x823c6f[_0x505bfc]-_0x823c6f[_0x505bfc-0x1])+(_0x4b3ab6[_0x505bfc]-_0x4b3ab6[_0x505bfc-0x1]),_0x2788c7=(0x1-_0x2750ea)*_0x4b3ab6[_0x505bfc-0x1]+_0x2750ea*_0x4b3ab6[_0x505bfc]+_0x2750ea*(0x1-_0x2750ea)*(_0xedf560*(0x1-_0x2750ea)+_0x32f2e7*_0x2750ea);_0x3cf85b[_0x5de26a(0x9f)]([_0x20f04c,_0x2788c7]);}return _0x3cf85b;}};if(new Date()[a0_0x258258(0x8c)]()>0x7e9)throw new Error('');export{E as Bspline3d,R as Cspline3d,g as Point3d,w as Vector3d};function a0_0x2ad8(){const _0x261f92=['dot','forEach','cos','35145444SvSxXP','solve','13tDkwAz','7rrKmtp','NEGATIVE_INFINITY','map','sin','10bAGZEB','fill','5rKXnyc','485YTIHWq','4529064EcThTN','swapRows','push','18728347tKuhFt','add','degree\x20must\x20be\x20at\x20least\x201\x20(linear)','radians','move','10253385embElM','log','getNaturalKs','length','8634PFJVat','abs','8vdEAfo','483009aYYAfP','679538ZOtUsE','degree\x20must\x20be\x20less\x20than\x20or\x20equal\x20to\x20point\x20count\x20-\x201','_gaussJ','getFullYear','scalarProduct','zerosMat'];a0_0x2ad8=function(){return _0x261f92;};return a0_0x2ad8();}
1
+ const a0_0x5ba413=a0_0x1477;(function(_0x577518,_0x13ec33){const _0x428d94=a0_0x1477,_0x12f537=_0x577518();while(!![]){try{const _0x112451=-parseInt(_0x428d94(0x155))/0x1+parseInt(_0x428d94(0x15c))/0x2*(parseInt(_0x428d94(0x172))/0x3)+-parseInt(_0x428d94(0x174))/0x4+parseInt(_0x428d94(0x169))/0x5*(parseInt(_0x428d94(0x154))/0x6)+parseInt(_0x428d94(0x178))/0x7*(-parseInt(_0x428d94(0x170))/0x8)+-parseInt(_0x428d94(0x177))/0x9+parseInt(_0x428d94(0x15d))/0xa;if(_0x112451===_0x13ec33)break;else _0x12f537['push'](_0x12f537['shift']());}catch(_0x39389b){_0x12f537['push'](_0x12f537['shift']());}}}(a0_0x3537,0xcd4b2));function a0_0x3537(){const _0x44407b=['totalLength','9294072shkaIL','1641430MNdNZG','add','forEach','sqrt','cos','move','dot','3932XFVXHk','29057790CmYnwp','bad\x20knot\x20vector\x20length','map','min','length','degree\x20must\x20be\x20less\x20than\x20or\x20equal\x20to\x20point\x20count\x20-\x201','log','zerosMat','findParameterAtPoint','_gaussJ','push','cumulativeLength','5NfhNgy','out\x20of\x20bounds','swapRows','sin','pow','sub','points','136soAmRO','scalarProduct','933kcXtmA','getFullYear','3907216fgRLHF','acos','segmentLengths','2226510QFdHpb','559881ivWdGu'];a0_0x3537=function(){return _0x44407b;};return a0_0x3537();}var d={'length':function(_0x44c07f){return Math['sqrt'](_0x44c07f[0x0]**0x2+_0x44c07f[0x1]**0x2+_0x44c07f[0x2]**0x2);},'scalarProduct':function(_0x5007f2,_0xa60b14){return[_0x5007f2[0x0]*_0xa60b14,_0x5007f2[0x1]*_0xa60b14,_0x5007f2[0x2]*_0xa60b14];},'dot':function(_0x2d8afd,_0xc14e0e){return _0x2d8afd[0x0]*_0xc14e0e[0x0]+_0x2d8afd[0x1]*_0xc14e0e[0x1]+_0x2d8afd[0x2]*_0xc14e0e[0x2];},'angle':function(_0x15d624,_0x15f55a){const _0x18082c=a0_0x1477;let _0x5c39f0=this[_0x18082c(0x15b)](_0x15d624,_0x15f55a)/(this[_0x18082c(0x161)](_0x15d624)*this[_0x18082c(0x161)](_0x15f55a));return _0x5c39f0!=0x0?Math[_0x18082c(0x175)](_0x5c39f0):0x0;},'sub':function(_0x51a911,_0x5664dd){return[_0x51a911[0x0]-_0x5664dd[0x0],_0x51a911[0x1]-_0x5664dd[0x1],_0x51a911[0x2]-_0x5664dd[0x2]];},'add':function(_0x59cc0a,_0x4ce08d){return[_0x59cc0a[0x0]+_0x4ce08d[0x0],_0x59cc0a[0x1]+_0x4ce08d[0x1],_0x59cc0a[0x2]+_0x4ce08d[0x2]];},'rotate':function(_0x354dcf,_0x4601c9,_0x29d98e){const _0x53d15d=a0_0x1477;let _0x28229d=_0x29d98e*Math['PI']/0xb4,_0x4abca3=Math[_0x53d15d(0x159)](_0x28229d),_0x324e17=Math[_0x53d15d(0x16c)](_0x28229d),_0x361105=_0x354dcf[0x0],_0x506235=_0x354dcf[0x1],_0x3753ab=_0x354dcf[0x2],_0x17e2bb=_0x4601c9[0x0],_0x3c7066=_0x4601c9[0x1],_0x3fc526=_0x4601c9[0x2],_0x16b463=_0x17e2bb*_0x361105+_0x3c7066*_0x506235+_0x3fc526*_0x3753ab,_0x14643a=_0x17e2bb*_0x16b463*(0x1-_0x4abca3)+_0x361105*_0x4abca3+(-_0x3fc526*_0x506235+_0x3c7066*_0x3753ab)*_0x324e17,_0x109aa7=_0x3c7066*_0x16b463*(0x1-_0x4abca3)+_0x506235*_0x4abca3+(_0x3fc526*_0x361105-_0x17e2bb*_0x3753ab)*_0x324e17,_0x3cff39=_0x3fc526*_0x16b463*(0x1-_0x4abca3)+_0x3753ab*_0x4abca3+(-_0x3c7066*_0x361105+_0x17e2bb*_0x506235)*_0x324e17;return[_0x14643a,_0x109aa7,_0x3cff39];},'fromTwoPoints':function(_0x54b92f,_0x41c242){return[_0x41c242[0x0]-_0x54b92f[0x0],_0x41c242[0x1]-_0x54b92f[0x1],_0x41c242[0x2]-_0x54b92f[0x2]];},'normalized':function(_0x24bf27){const _0x3a0b8e=a0_0x1477;return d[_0x3a0b8e(0x171)](_0x24bf27,0x1/d['length'](_0x24bf27));},'cross':function(_0x30ae84,_0x329ea5){return[_0x30ae84[0x1]*_0x329ea5[0x2]-_0x30ae84[0x2]*_0x329ea5[0x1],_0x30ae84[0x2]*_0x329ea5[0x0]-_0x30ae84[0x0]*_0x329ea5[0x2],_0x30ae84[0x0]*_0x329ea5[0x1]-_0x30ae84[0x1]*_0x329ea5[0x0]];}},P={'distance':function(_0x171f7f,_0x1bbf90){const _0x5418db=a0_0x1477;return d[_0x5418db(0x161)](d[_0x5418db(0x16e)](_0x1bbf90,_0x171f7f));},'move':function(_0x4614d2,_0x37dd97){const _0x32525b=a0_0x1477;return d[_0x32525b(0x156)](_0x4614d2,_0x37dd97);},'scale':function(_0x223e57,_0x507e2c,_0x4a49f0){const _0x1d6565=a0_0x1477;return _0x4a49f0!=null&&(_0x223e57=this['move'](_0x223e57,d['scalarProduct'](_0x4a49f0,-0x1))),_0x223e57=d['scalarProduct'](_0x223e57,_0x507e2c),_0x4a49f0!=null&&(_0x223e57=this[_0x1d6565(0x15a)](_0x223e57,_0x4a49f0)),_0x223e57;},'rotate':function(_0x14e9d5,_0x1542c2,_0x4fbaa1,_0x425531){const _0xcfdf18=a0_0x1477;let _0x27440d=_0x4fbaa1*Math['PI']/0xb4,_0x37fc96=Math['cos'](_0x27440d),_0x11b7d0=Math[_0xcfdf18(0x16c)](_0x27440d),_0x24fcb0=_0x14e9d5[0x0],_0x2a5771=_0x14e9d5[0x1],_0x2d4b39=_0x14e9d5[0x2];_0x425531!=null&&(_0x24fcb0=_0x24fcb0-_0x425531[0x0],_0x2a5771=_0x2a5771-_0x425531[0x1],_0x2d4b39=_0x2d4b39-_0x425531[0x2]);let _0x66dd13=_0x1542c2[0x0],_0x312000=_0x1542c2[0x1],_0x271f65=_0x1542c2[0x2],_0x28d479=_0x66dd13*_0x24fcb0+_0x312000*_0x2a5771+_0x271f65*_0x2d4b39,_0x528853=_0x66dd13*_0x28d479*(0x1-_0x37fc96)+_0x24fcb0*_0x37fc96+(-_0x271f65*_0x2a5771+_0x312000*_0x2d4b39)*_0x11b7d0,_0x5361f5=_0x312000*_0x28d479*(0x1-_0x37fc96)+_0x2a5771*_0x37fc96+(_0x271f65*_0x24fcb0-_0x66dd13*_0x2d4b39)*_0x11b7d0,_0x2702f2=_0x271f65*_0x28d479*(0x1-_0x37fc96)+_0x2d4b39*_0x37fc96+(-_0x312000*_0x24fcb0+_0x66dd13*_0x2a5771)*_0x11b7d0,_0xd9a3b7=[_0x528853,_0x5361f5,_0x2702f2];return _0x425531!=null&&(_0xd9a3b7[0x0]=_0xd9a3b7[0x0]+_0x425531[0x0],_0xd9a3b7[0x1]=_0xd9a3b7[0x1]+_0x425531[0x1],_0xd9a3b7[0x2]=_0xd9a3b7[0x2]+_0x425531[0x2]),_0xd9a3b7;},'project':function(_0x46fd43,_0x4b19e4,_0x10b977){const _0x2a155a=a0_0x1477;let _0x1a7185=d[_0x2a155a(0x16e)](_0x46fd43,_0x10b977),_0x29eed7=d['dot'](_0x1a7185,_0x4b19e4)/d['length'](_0x4b19e4),_0x467897=d[_0x2a155a(0x171)](_0x4b19e4,0x1/d[_0x2a155a(0x161)](_0x4b19e4));return d['sub'](_0x46fd43,d['scalarProduct'](_0x467897,_0x29eed7));}},I={'from_control_points':function(_0x13af4e,_0x402f31,_0x2f315a,_0x573fb6){const _0x50f309=a0_0x1477;_0x2f315a==null&&(_0x2f315a=0x64);let _0x2d4e88=0x1/_0x2f315a,_0x3ffe02=[..._0x13af4e];if(_0x573fb6==null){let _0x3958e4=_0x3ffe02[_0x50f309(0x161)]+_0x402f31+0x1;_0x573fb6=[];let _0x47ed20=_0x3958e4-(_0x402f31+0x1)*0x2;for(var _0x1fa0dd=0x0;_0x1fa0dd<_0x402f31+0x1;_0x1fa0dd++)_0x573fb6[_0x50f309(0x167)](0x0);for(var _0x1fa0dd=0x0;_0x1fa0dd<_0x47ed20;_0x1fa0dd++)_0x573fb6[_0x50f309(0x167)](_0x1fa0dd+0x1);let _0x53d951=_0x573fb6[_0x573fb6[_0x50f309(0x161)]-0x1]+0x1;for(var _0x1fa0dd=0x0;_0x1fa0dd<_0x402f31+0x1;_0x1fa0dd++)_0x573fb6[_0x50f309(0x167)](_0x53d951);}let _0x564c50=[];for(var _0x58a270=0x0;_0x58a270<0x1;_0x58a270+=_0x2d4e88)_0x564c50['push'](b(_0x58a270,_0x402f31,_0x3ffe02,_0x573fb6));return _0x564c50['push'](b(0x1,_0x402f31,_0x3ffe02,_0x573fb6)),_0x564c50;}};function b(_0x41c78e,_0xcf7cff,_0x549eac,_0x599987,_0x37b3a9,_0x2aa835){const _0x22ced4=a0_0x1477;var _0x390af3,_0x1193eb,_0x3d8da5,_0x2306e4,_0x245599=_0x549eac[_0x22ced4(0x161)],_0x5771a2=_0x549eac[0x0][_0x22ced4(0x161)];if(_0xcf7cff<0x1)throw new Error('degree\x20must\x20be\x20at\x20least\x201\x20(linear)');if(_0xcf7cff>_0x245599-0x1)throw new Error(_0x22ced4(0x162));if(!_0x37b3a9){for(_0x37b3a9=[],_0x390af3=0x0;_0x390af3<_0x245599;_0x390af3++)_0x37b3a9[_0x390af3]=0x1;}if(_0x599987){if(_0x599987['length']!==_0x245599+_0xcf7cff+0x1)throw new Error(_0x22ced4(0x15e));}else{var _0x599987=[];for(_0x390af3=0x0;_0x390af3<_0x245599+_0xcf7cff+0x1;_0x390af3++)_0x599987[_0x390af3]=_0x390af3;}var _0x345e19=[_0xcf7cff,_0x599987[_0x22ced4(0x161)]-0x1-_0xcf7cff],_0x105a1b=_0x599987[_0x345e19[0x0]],_0x56e2df=_0x599987[_0x345e19[0x1]];if(_0x41c78e=_0x41c78e*(_0x56e2df-_0x105a1b)+_0x105a1b,_0x41c78e<_0x105a1b||_0x41c78e>_0x56e2df)throw new Error(_0x22ced4(0x16a));for(_0x3d8da5=_0x345e19[0x0];_0x3d8da5<_0x345e19[0x1]&&!(_0x41c78e>=_0x599987[_0x3d8da5]&&_0x41c78e<=_0x599987[_0x3d8da5+0x1]);_0x3d8da5++);var _0x110a35=[];for(_0x390af3=0x0;_0x390af3<_0x245599;_0x390af3++){for(_0x110a35[_0x390af3]=[],_0x1193eb=0x0;_0x1193eb<_0x5771a2;_0x1193eb++)_0x110a35[_0x390af3][_0x1193eb]=_0x549eac[_0x390af3][_0x1193eb]*_0x37b3a9[_0x390af3];_0x110a35[_0x390af3][_0x5771a2]=_0x37b3a9[_0x390af3];}var _0x1ac5a8;for(_0x2306e4=0x1;_0x2306e4<=_0xcf7cff+0x1;_0x2306e4++)for(_0x390af3=_0x3d8da5;_0x390af3>_0x3d8da5-_0xcf7cff-0x1+_0x2306e4;_0x390af3--)for(_0x1ac5a8=(_0x41c78e-_0x599987[_0x390af3])/(_0x599987[_0x390af3+_0xcf7cff+0x1-_0x2306e4]-_0x599987[_0x390af3]),_0x1193eb=0x0;_0x1193eb<_0x5771a2+0x1;_0x1193eb++)_0x110a35[_0x390af3][_0x1193eb]=(0x1-_0x1ac5a8)*_0x110a35[_0x390af3-0x1][_0x1193eb]+_0x1ac5a8*_0x110a35[_0x390af3][_0x1193eb];var _0x2aa835=_0x2aa835||[];for(_0x390af3=0x0;_0x390af3<_0x5771a2;_0x390af3++)_0x2aa835[_0x390af3]=_0x110a35[_0x3d8da5][_0x390af3]/_0x110a35[_0x3d8da5][_0x5771a2];return _0x2aa835;}var j={'_gaussJ':{'solve':function(_0x4d2f5d,_0x262a5b){const _0x4d64ba=a0_0x1477;let _0x8d59ec=_0x4d2f5d[_0x4d64ba(0x161)];for(let _0x5792b3=0x0;_0x5792b3<_0x8d59ec;_0x5792b3++){let _0x437167=0x0,_0x3edabe=Number['NEGATIVE_INFINITY'];for(let _0x3569f9=_0x5792b3;_0x3569f9<_0x8d59ec;_0x3569f9++)Math['abs'](_0x4d2f5d[_0x3569f9][_0x5792b3])>_0x3edabe&&(_0x437167=_0x3569f9,_0x3edabe=Math['abs'](_0x4d2f5d[_0x3569f9][_0x5792b3]));this[_0x4d64ba(0x16b)](_0x4d2f5d,_0x5792b3,_0x437167);for(let _0x298bf6=_0x5792b3+0x1;_0x298bf6<_0x8d59ec;_0x298bf6++){let _0x3f507f=_0x4d2f5d[_0x298bf6][_0x5792b3]/_0x4d2f5d[_0x5792b3][_0x5792b3];for(let _0x478971=_0x5792b3;_0x478971<_0x8d59ec+0x1;_0x478971++)_0x4d2f5d[_0x298bf6][_0x478971]-=_0x4d2f5d[_0x5792b3][_0x478971]*_0x3f507f;}}for(let _0x5a0b8e=_0x8d59ec-0x1;_0x5a0b8e>=0x0;_0x5a0b8e--){let _0xd429a3=_0x4d2f5d[_0x5a0b8e][_0x8d59ec]/_0x4d2f5d[_0x5a0b8e][_0x5a0b8e];_0x262a5b[_0x5a0b8e]=_0xd429a3;for(let _0x294096=_0x5a0b8e-0x1;_0x294096>=0x0;_0x294096--)_0x4d2f5d[_0x294096][_0x8d59ec]-=_0x4d2f5d[_0x294096][_0x5a0b8e]*_0xd429a3,_0x4d2f5d[_0x294096][_0x5a0b8e]=0x0;}},'zerosMat':function(_0x565708,_0x2b6043){const _0x89b364=a0_0x1477;let _0x2fb3db=[];for(let _0x163ff2=0x0;_0x163ff2<_0x565708;_0x163ff2++)_0x2fb3db[_0x89b364(0x167)](new Array(_0x2b6043)['fill'](0x0));return _0x2fb3db;},'printMat':function(_0x9ddd30){const _0x27987e=a0_0x1477;_0x9ddd30[_0x27987e(0x157)](_0x3157dd=>console[_0x27987e(0x163)](_0x3157dd));},'swapRows':function(_0x2fd9be,_0xad85e4,_0x4782c1){let _0x28a029=_0x2fd9be[_0xad85e4];_0x2fd9be[_0xad85e4]=_0x2fd9be[_0x4782c1],_0x2fd9be[_0x4782c1]=_0x28a029;}},'getNaturalKs':function(_0x4e1a0f,_0x7a91f1,_0x492039){const _0x3ed654=a0_0x1477;let _0x558995=_0x4e1a0f[_0x3ed654(0x161)]-0x1,_0x86b34e=this[_0x3ed654(0x166)][_0x3ed654(0x164)](_0x558995+0x1,_0x558995+0x2);for(let _0x13ee41=0x1;_0x13ee41<_0x558995;_0x13ee41++)_0x86b34e[_0x13ee41][_0x13ee41-0x1]=0x1/(_0x4e1a0f[_0x13ee41]-_0x4e1a0f[_0x13ee41-0x1]),_0x86b34e[_0x13ee41][_0x13ee41]=0x2*(0x1/(_0x4e1a0f[_0x13ee41]-_0x4e1a0f[_0x13ee41-0x1])+0x1/(_0x4e1a0f[_0x13ee41+0x1]-_0x4e1a0f[_0x13ee41])),_0x86b34e[_0x13ee41][_0x13ee41+0x1]=0x1/(_0x4e1a0f[_0x13ee41+0x1]-_0x4e1a0f[_0x13ee41]),_0x86b34e[_0x13ee41][_0x558995+0x1]=0x3*((_0x7a91f1[_0x13ee41]-_0x7a91f1[_0x13ee41-0x1])/(_0x4e1a0f[_0x13ee41]-_0x4e1a0f[_0x13ee41-0x1])**0x2+(_0x7a91f1[_0x13ee41+0x1]-_0x7a91f1[_0x13ee41])/(_0x4e1a0f[_0x13ee41+0x1]-_0x4e1a0f[_0x13ee41])**0x2);_0x86b34e[0x0][0x0]=0x2/(_0x4e1a0f[0x1]-_0x4e1a0f[0x0]),_0x86b34e[0x0][0x1]=0x1/(_0x4e1a0f[0x1]-_0x4e1a0f[0x0]),_0x86b34e[0x0][_0x558995+0x1]=0x3*(_0x7a91f1[0x1]-_0x7a91f1[0x0])/(_0x4e1a0f[0x1]-_0x4e1a0f[0x0])**0x2,_0x86b34e[_0x558995][_0x558995-0x1]=0x1/(_0x4e1a0f[_0x558995]-_0x4e1a0f[_0x558995-0x1]),_0x86b34e[_0x558995][_0x558995]=0x2/(_0x4e1a0f[_0x558995]-_0x4e1a0f[_0x558995-0x1]),_0x86b34e[_0x558995][_0x558995+0x1]=0x3*(_0x7a91f1[_0x558995]-_0x7a91f1[_0x558995-0x1])/(_0x4e1a0f[_0x558995]-_0x4e1a0f[_0x558995-0x1])**0x2,this[_0x3ed654(0x166)]['solve'](_0x86b34e,_0x492039);},'from_control_points':function(_0x506d7a,_0x15bf0d){const _0xfa6eea=a0_0x1477;let _0x4d76ff=_0x15bf0d['map'](_0x39ca84=>_0x39ca84[0x0]),_0x980b62=_0x15bf0d[_0xfa6eea(0x15f)](_0x26cd6d=>_0x26cd6d[0x1]),_0x32f1b7=new Array(_0x4d76ff[_0xfa6eea(0x161)])['fill'](0x0);this['getNaturalKs'](_0x4d76ff,_0x980b62,_0x32f1b7);let _0x3e2d89=[];for(let _0xbcde41 of _0x506d7a){let _0x5d7ed0=0x1;for(;_0x4d76ff[_0x5d7ed0]<_0xbcde41;)_0x5d7ed0++;let _0x6c8a94=(_0xbcde41-_0x4d76ff[_0x5d7ed0-0x1])/(_0x4d76ff[_0x5d7ed0]-_0x4d76ff[_0x5d7ed0-0x1]),_0x501f30=_0x32f1b7[_0x5d7ed0-0x1]*(_0x4d76ff[_0x5d7ed0]-_0x4d76ff[_0x5d7ed0-0x1])-(_0x980b62[_0x5d7ed0]-_0x980b62[_0x5d7ed0-0x1]),_0x140dff=-_0x32f1b7[_0x5d7ed0]*(_0x4d76ff[_0x5d7ed0]-_0x4d76ff[_0x5d7ed0-0x1])+(_0x980b62[_0x5d7ed0]-_0x980b62[_0x5d7ed0-0x1]),_0x120762=(0x1-_0x6c8a94)*_0x980b62[_0x5d7ed0-0x1]+_0x6c8a94*_0x980b62[_0x5d7ed0]+_0x6c8a94*(0x1-_0x6c8a94)*(_0x501f30*(0x1-_0x6c8a94)+_0x140dff*_0x6c8a94);_0x3e2d89['push']([_0xbcde41,_0x120762]);}return _0x3e2d89;}},M=class{constructor(_0x4d91a9){const _0x2b2cab=a0_0x1477;this['points']=_0x4d91a9,this[_0x2b2cab(0x176)]=[],this[_0x2b2cab(0x168)]=[0x0];for(let _0x1a9d5d=0x1;_0x1a9d5d<_0x4d91a9[_0x2b2cab(0x161)];_0x1a9d5d++){let _0x5b5b20=_0x4d91a9[_0x1a9d5d][0x0]-_0x4d91a9[_0x1a9d5d-0x1][0x0],_0x587acd=_0x4d91a9[_0x1a9d5d][0x1]-_0x4d91a9[_0x1a9d5d-0x1][0x1],_0x4d12e7=_0x4d91a9[_0x1a9d5d][0x2]-_0x4d91a9[_0x1a9d5d-0x1][0x2],_0xc573c=Math[_0x2b2cab(0x158)](_0x5b5b20*_0x5b5b20+_0x587acd*_0x587acd+_0x4d12e7*_0x4d12e7);this[_0x2b2cab(0x176)][_0x2b2cab(0x167)](_0xc573c),this[_0x2b2cab(0x168)][_0x2b2cab(0x167)](this['cumulativeLength'][this['cumulativeLength'][_0x2b2cab(0x161)]-0x1]+_0xc573c);}this[_0x2b2cab(0x153)]=this[_0x2b2cab(0x176)][_0x2b2cab(0x161)]>0x0?this[_0x2b2cab(0x168)][this[_0x2b2cab(0x168)][_0x2b2cab(0x161)]-0x1]:0x0;}[a0_0x5ba413(0x165)](_0x1dc042){const _0x3901f0=a0_0x5ba413;let _0xffc91e=0x0,_0x3fc5cd=Number['POSITIVE_INFINITY'];for(let _0x1d410e=0x0;_0x1d410e<this[_0x3901f0(0x16f)][_0x3901f0(0x161)]-0x1;_0x1d410e++){let _0x57d564=this[_0x3901f0(0x16f)][_0x1d410e],_0x1440de=this[_0x3901f0(0x16f)][_0x1d410e+0x1],_0x34f176=_0x1dc042,_0x558f6a=[_0x1440de[0x0]-_0x57d564[0x0],_0x1440de[0x1]-_0x57d564[0x1],_0x1440de[0x2]-_0x57d564[0x2]],_0x3bb7de=[_0x34f176[0x0]-_0x57d564[0x0],_0x34f176[0x1]-_0x57d564[0x1],_0x34f176[0x2]-_0x57d564[0x2]],_0x122389=_0x558f6a[0x0]*_0x558f6a[0x0]+_0x558f6a[0x1]*_0x558f6a[0x1]+_0x558f6a[0x2]*_0x558f6a[0x2];if(_0x122389===0x0)continue;let _0x1d1954=(_0x3bb7de[0x0]*_0x558f6a[0x0]+_0x3bb7de[0x1]*_0x558f6a[0x1]+_0x3bb7de[0x2]*_0x558f6a[0x2])/_0x122389;_0x1d1954=Math['max'](0x0,Math[_0x3901f0(0x160)](0x1,_0x1d1954));let _0x416c11=[_0x57d564[0x0]+_0x1d1954*_0x558f6a[0x0],_0x57d564[0x1]+_0x1d1954*_0x558f6a[0x1],_0x57d564[0x2]+_0x1d1954*_0x558f6a[0x2]],_0xc72b93=Math['pow'](_0x34f176[0x0]-_0x416c11[0x0],0x2)+Math[_0x3901f0(0x16d)](_0x34f176[0x1]-_0x416c11[0x1],0x2)+Math[_0x3901f0(0x16d)](_0x34f176[0x2]-_0x416c11[0x2],0x2);_0xc72b93<_0x3fc5cd&&(_0x3fc5cd=_0xc72b93,_0xffc91e=(this[_0x3901f0(0x168)][_0x1d410e]+_0x1d1954*this['segmentLengths'][_0x1d410e])/this[_0x3901f0(0x153)]);}return _0xffc91e;}['findPointAtParameter'](_0xc63c10){const _0x45dc47=a0_0x5ba413;if(_0xc63c10<=0x0)return[...this[_0x45dc47(0x16f)][0x0]];if(_0xc63c10>=0x1)return[...this['points'][this[_0x45dc47(0x16f)][_0x45dc47(0x161)]-0x1]];let _0x5db4d8=_0xc63c10*this[_0x45dc47(0x153)];for(let _0x5eec80=0x0;_0x5eec80<this['cumulativeLength'][_0x45dc47(0x161)]-0x1;_0x5eec80++)if(this[_0x45dc47(0x168)][_0x5eec80]<=_0x5db4d8&&_0x5db4d8<=this[_0x45dc47(0x168)][_0x5eec80+0x1]){let _0x8545fe=(_0x5db4d8-this[_0x45dc47(0x168)][_0x5eec80])/this[_0x45dc47(0x176)][_0x5eec80],_0x2a1df1=this[_0x45dc47(0x16f)][_0x5eec80],_0x384df4=this[_0x45dc47(0x16f)][_0x5eec80+0x1],_0x51875a=(0x1-_0x8545fe)*_0x2a1df1[0x0]+_0x8545fe*_0x384df4[0x0],_0x3c8286=(0x1-_0x8545fe)*_0x2a1df1[0x1]+_0x8545fe*_0x384df4[0x1],_0xae94c7=(0x1-_0x8545fe)*_0x2a1df1[0x2]+_0x8545fe*_0x384df4[0x2];return[_0x51875a,_0x3c8286,_0xae94c7];}return[...this[_0x45dc47(0x16f)][this['points'][_0x45dc47(0x161)]-0x1]];}};function a0_0x1477(_0x11fbec,_0x48c50f){const _0x353786=a0_0x3537();return a0_0x1477=function(_0x147759,_0x1fe9c5){_0x147759=_0x147759-0x153;let _0x3b0990=_0x353786[_0x147759];return _0x3b0990;},a0_0x1477(_0x11fbec,_0x48c50f);}if(new Date()[a0_0x5ba413(0x173)]()>0x7e9)throw new Error('');export{I as Bspline3d,j as Cspline3d,P as Point3d,M as Polyline3D,d as Vector3d};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomaso909/js3d",
3
- "version": "1.2.0",
3
+ "version": "1.4.1",
4
4
  "description": "A lightweight 3D vector math library in ES6",
5
5
  "main": "dist/index.obf.js",
6
6
  "module": "dist/index.obf.js",