www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: ehud101 on October 13, 2014, 12:28:43 pm

Title: using setParent or rotate for polylines
Post by: ehud101 on October 13, 2014, 12:28:43 pm
Hi,
you suggested using polyline.setParent in order to get edges for a shape
the problem is that I get an error that says setParent is not a method of polylines
so how can I add my "full and regular" shape as a parent to the "lines shape"?

and, can I rotate a line?

thanks
Title: Re: using setParent or rotate for polylines
Post by: EgonOlsen on October 13, 2014, 08:57:04 pm
Opps, my bad. These methods don't exist in the latest official release. Use the latest beta instead.

Desktop: http://jpct.de/download/beta/jpct.jar (http://jpct.de/download/beta/jpct.jar)

Android: http://jpct.de/download/beta/jpct_ae.jar (http://jpct.de/download/beta/jpct_ae.jar)
Title: Re: using setParent or rotate for polylines
Post by: AGP on October 14, 2014, 06:03:22 am
Nor does ExtendedPrimitives, by the way. Why won't you just release the new version, already? :- )
Title: Re: using setParent or rotate for polylines
Post by: EgonOlsen on October 14, 2014, 09:49:41 am
Will happen soon, i promise...kind of...
Title: Re: using setParent or rotate for polylines
Post by: ehud101 on October 15, 2014, 01:28:56 am
thanks egon!!

exactly what I needed!