Check out this basic three.js code snippet for generating custom geometry http://jsfiddle.net/67Lgzjpb/. After attempting to run this code directly in my browser (not via JSFiddle), an error message pops up:
TypeError: geom.computeCentroids is not a function
Any idea what might be causing this issue?