Hi Folks,

I have noticed some interesting behavior when using
the Box class to create geometry in my scene graph.
Given the following code:

Transform3D tableTop = new Transform3D();
TransformGroup tableTopTrans = new
TransformGroup(tableTop);
tableTop.set(new Vector3f(0.0f, 0.0f, 0.0f));
tableTopTrans.setTransform(beltTable);
tableTopTrans.addChild(new Box(70, 130, 3.0f, tTAp));
tableTrans.addChild(tableTopTrans);

I expect to get a 70 X 130 X 3 piece of geometry
positioned at the (0,0,0) vector.  Futhermore, I
expect the side edges to be 35 (and -35) from the
center, the top and bottom edges to be 65 (and -65)
from the center and the front and back edges to be 1.5
(and -1.5) from the center.

Instead, I get a 140 X 260 X 6 piece of geometry with
the edges being 70, 130, and 3 away from the center...

Is this a bug in the Box class or am I missing
something here???

Thanks,
Mark

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to