Your code uses deprecated Geometry - removed in r125 - you would need to iterate through BufferGeometry position attribute in order to retrieve the vertices.
Your code uses deprecated Geometry - removed in r125 - you would need to iterate through BufferGeometry position attribute in order to retrieve the vertices.