www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: voronwe13 on September 03, 2014, 08:59:58 pm
-
Is there a quick way to remove all polylines from a world? World.removeAllObjects() doesn't appear to remove polylines, nor even World.removeAll().
-
There's no such thing ATM. You could use http://www.jpct.net/jpct-ae/doc/com/threed/jpct/World.html#removePolyline(com.threed.jpct.Polyline) (http://www.jpct.net/jpct-ae/doc/com/threed/jpct/World.html#removePolyline(com.threed.jpct.Polyline)) on all Polylines. If that's isn't feasible, i can add the requested method.
-
Right now I am able to go through and remove them one by one, so it's not a huge deal. A method for removing them (and/or at least having world.removeAll() remove them) would be a nice feature, if it's not difficult to add.
-
This jar should have it: http://jpct.de/download/beta/jpct_ae.jar (http://jpct.de/download/beta/jpct_ae.jar)
-
Awesome, thanks!