- Edited
_worldVertices = new float[1000]; // Max number of vertices
Just found this in SkeletonRenderer.cpp line 63.
Eek! :rock: Isn't it a bit of an overkill, especially with smartphones, to allocate 1000 bytes for every single Skeleton instance? Maybe not nowadays, but why not just allocate it after loading and finding out exactly how many vertices each mesh holds?
What runtime is this?
Pharan wroteWhat runtime is this?
Hi, cocos2dx