brianguertin
Joined: 26 Dec 2008 Posts: 8
|
Posted: Tue Jan 06, 2009 1:38 pm Post subject: Segfault with large amount of colliding shapes |
|
|
i kept getting a segfault when i spawned a stack of like 100 shapes, it came from blaze.collision.pairwise.collidePoly.edgeSeparation.
I assumed it must be memory/GC related and i noticed immediately that all the vertices of each poly passed were being duped for apparently no reason whatsover. I simply removed the .dup from all the array initializers and the segfault is nowhere to be found |
|