- Modifié
Runtime Documentation Bug: Generic rendering
Hello,
thank you so much for your amazing software.
Just wanted to let you know about small copy-paste bug in your documentation about Generic Rendering.
http://esotericsoftware.com/spine-runtime-skeletons#Generic-rendering
Your code says:
else if (attachment is MeshAttachment) {
attachment.computeWorldVertices(slot.bone, vertices);
triangles = attachment.triangles;
...
But I can't find computeWorldVertices in MeshAttachment.
Best,
Anton
MeshAttachment extends VertexAttachment, so you'll need to look there: VertexAttachment computeWorldVertices
It's not a huge amount of code in the core of the runtimes, so looking at the code in addition to the API docs can often help.
Cool, yes, I've found it.
Thank you very much.
Best,
Anton