v4anton

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
v4anton
  • Bài viết: 4

Nate

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.
Hình đại diện của thành viên
Nate

Nate
  • Bài viết: 9985

v4anton

Cool, yes, I've found it.
Thank you very much.

Best,
Anton
v4anton
  • Bài viết: 4


Quay về Bugs