Currently, I am in the process of adapting three.js into Java while also incorporating my own modifications and enhancements. One specific challenge I am facing involves determining the best approach for managing reflection within the code.
As part of this adaptation, I need to incorporate certain methods that are present in three.js, such as THREE.Line3.closestPointToPointParameter. However, I am uncertain about the most effective way to integrate these functions into Java. Should I stick to the original implementation or should I consider customizing the method to better suit my needs? I am eager to explore different strategies and suggestions in order to optimize this transition.