Recently, I've been experimenting with JavaScript, Three.js, and Leapmotion. To enhance my program, I decided to incorporate the leap widgets library which can be found here.
However, after investing numerous hours into this project, I encountered a type error within one of the libraries. I'm not sure if it's an issue on my end or not; I just can't seem to solve it...
TypeError: this.mesh.geometry.area is not a function
This error specifically points to the following code:
this.mass = this.mesh.geometry.area() * this.density;
It seems like there might be a problem with this library.