www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: mxar on July 07, 2014, 09:39:47 PM

Title: Object3D scale only one size
Post by: mxar on July 07, 2014, 09:39:47 PM
I have created an Object3D Box calling Primitives.getBox(float scale, float scaleHeight)  method.

I need to scale only one size the width. The Object3D  Box must have width value not equal to length value.
Is there any solution?

How can I scale only one size?
Title: Re: Object3D scale only one size
Post by: EgonOlsen on July 07, 2014, 10:26:04 PM
I'm not sure, if i got your question...have you looked at the getBox()-method of ExtendedPrimitives?
Title: Re: Object3D scale only one size
Post by: mxar on July 08, 2014, 09:07:52 PM
Thank you for the answer.

It is very helpful.

I used an old version of jpct_ae.jar without the ExtendedPrimitives class.