Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
RemoveAllObjects and Polylines
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: RemoveAllObjects and Polylines (Read 2225 times)
voronwe13
byte
Posts: 15
RemoveAllObjects and Polylines
«
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().
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: RemoveAllObjects and Polylines
«
Reply #1 on:
September 03, 2014, 09:25:33 pm »
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)
on all Polylines. If that's isn't feasible, i can add the requested method.
Logged
voronwe13
byte
Posts: 15
Re: RemoveAllObjects and Polylines
«
Reply #2 on:
September 03, 2014, 10:12:00 pm »
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.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: RemoveAllObjects and Polylines
«
Reply #3 on:
September 03, 2014, 11:40:14 pm »
This jar should have it:
http://jpct.de/download/beta/jpct_ae.jar
Logged
voronwe13
byte
Posts: 15
Re: RemoveAllObjects and Polylines
«
Reply #4 on:
September 04, 2014, 03:37:20 pm »
Awesome, thanks!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
RemoveAllObjects and Polylines