Hi
I've recently taken the QML plugin which was written against an old version of the C runtime and updated it to the latest version. It seems to work well, but I just wanted to check a couple of things:
spRegionAttachment_computeWorldVertices now takes an offset and a stride. I couldn't find any documentation for that function, so I guessed at 0 and 2 respectively. It seemed to work, but are there any cases where it wouldn't?
I noticed I had to replace spMeshAttachment_computeWorldVertices with spVertexAttachment_computeWorldVertices, and use attachment->super and attachment->super.verticesCount. I also notice that function takes a 'start' parameter which I guessed would be 0. Is that going to always work?
At one point there is a switch over slot->attachment->type. At the moment it only deals with SP_ATTACHMENT_REGION and SP_ATTACHMENT_MESH. I'm not using linked meshes or clipping regions yet, but I guess if/when I do I'll have to implement them. I'm not interested in anything that doesn't get rendered on the screen, so can I ignore SP_ATTACHMENT_BOUNDING_BOX, SP_ATTACHMENT_PATH and SP_ATTACHMENT_POINT? They are just internal information that the user never sees, right?
Kind regards
Tony
Thanks