I've working lately with JavaScript and Three.js with Leapmotion, and I started using the leap widgets (http://blog.leapmotion.com/leapjs-widgets-new-library-3d-web-design/here!) library to add some cool buttons to my program.
After many hours, I got this type error from one of the libraries. Is it something mine? I just can't figure it out...
TypeError: this.mesh.geometry.area is not a function
This refers to this code:
this.mass = this.mesh.geometry.area() * this.density;
This library doesn't look like its working ok.
As answered in this issue: https://github.com/leapmotion/leapjs-widgets/issues/4
Edit: This seems to be a fairly common issue. Perhaps in a future release we'll make the error more explicit.