Hi I\'m having an issue with THREEJS, I\'m using PlaneGeometry and two functions to create a 3D wave effect I keep getting a JS error about vertices.
The error reads