You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's interesting that you used java to write this, but it's 100% not JS module friendly. At this current moment, I have to fork this and frankenstein the JS output in order to import it into my project.
If you'd be willing to explore making the javascript output more modern, that would be fantastic.
I'd like to be able to use it as such:
importEditControlfrom'babylonjs-editcontrol';
which, with the help of Babel, transpiles to:
varEditControl=require('babylonjs-editcontrol');
You would also have to make your editcontrol import babylon, otherwise I ran into dependency issues with the way that you're grabbing values from BABYLON, because I also import babylon from npm (they have their own module).
I have no idea how you'd finagle the java to allow for something like this, but I can definitely help with the javascript side of things.
I can translate your Java into the new JS syntax (classes, modules, etc) if you'd like. Let me know. I can knock that out in a few hours, probably.
The text was updated successfully, but these errors were encountered:
It's interesting that you used java to write this, but it's 100% not JS module friendly. At this current moment, I have to fork this and frankenstein the JS output in order to import it into my project.
If you'd be willing to explore making the javascript output more modern, that would be fantastic.
I'd like to be able to use it as such:
which, with the help of Babel, transpiles to:
You would also have to make your editcontrol import babylon, otherwise I ran into dependency issues with the way that you're grabbing values from BABYLON, because I also import babylon from npm (they have their own module).
I have no idea how you'd finagle the java to allow for something like this, but I can definitely help with the javascript side of things.
I can translate your Java into the new JS syntax (classes, modules, etc) if you'd like. Let me know. I can knock that out in a few hours, probably.
The text was updated successfully, but these errors were encountered: