Author Topic: Object3D scale only one size  (Read 2126 times)

Offline mxar

  • int
  • **
  • Posts: 78
    • View Profile
Object3D scale only one size
« 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?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Object3D scale only one size
« Reply #1 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?

Offline mxar

  • int
  • **
  • Posts: 78
    • View Profile
Re: Object3D scale only one size
« Reply #2 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.