poiipoii Hello, spMesh* spMesh_create(uint32_t numVertices, uint32_t numIndices) I would like to know how to set numVertices and numIndices ? Are they the largest numbers or related to your images ( which images ? ) Thank you for your help.
Mario numVertices and numIndices are the maximum amount of vertices and indices that can be stored by this mesh. Set them to whatever you expect your mesh size to be. May I ask what you use spMesh for? You shouldn't need it in your own code.
poiipoii Thank you for your kind answer. This function is used in : cocos2d-objc – Objective I was trying to undersrand the logic behind it.