three.js
three.js copied to clipboard
MeshBasicMaterial documentation innacuracy, suggestion
In https://github.com/mrdoob/three.js/blob/dev/docs/api/materials/MeshBasicMaterial.html
"vertexColors" is confusingly (?me) marked as "boolean", but takes integer values.
Suggest adding
"Set to THREE.VertexColors to use vertex colors, and to THREE.FaceColors to use face colors"
I couldn't find this anywhere else in the docs.
Ah, yes. It's definitely not a Boolean. Do you think you could create a PR with this change?
Actually. I'll fix it directly :)
Fixed. Thanks! :)