目录

我的学习分享

记录精彩的程序人生

标签: StackOverflow (1)

【LibGDX】LibGDX BOX2D change maxPolygonVertices 有更新!

https://stackoverflow.com/questions/21606528/libgdx-box2d-change-maxpolygonvertices?r=SearchResults I need to make a body with more than 8 vertices, and i get the error. AL lib: (EE) alc_cleanup: 1 device not closed Assertion failed! Program: C:\Program Files\Java\jre7\bin\javaw.exe File: /var/lib/jenkins/workspace/libgdx/gdx/jni/Box2D/Collision/Shapes/b2PolygonShape.cpp, Line 122 Expression: 3 <= count && count <= 8 How can I change that constant? I found this file https://github....