I’m trying to remove items from a linked list and only going through the list once so I came up with a method of doing so.
But the numbers removed aren’t the correct values. which are removed and I don’t know why (the first one is removed correctly)
could someone please locate the logic error?
http://www.java-gaming.org/?action=pastebin&id=306
The purpose of this is to make more efficient culling in my particle system