Skip to main content

[JAVA3D-INTEREST] Strange Box constructor behaviour

No replies
Anonymous

Hello

I'm a java 3d beginner, so please apologize if my question is to silly.

I'm trying to build a new Box object, using the second constructor of the
class. So I wrote

Box box = new Box (2.0f, 2.7f, 0.8f, boxAppearance)

and everything is ok... (boxAppearance displays the box in wireframe mode)

But if I give

Box box = new Box (20.0f, 27.0f, 8.0f, boxAppearance)

The result does not look similar as the box above. For example, the diagonal
of the faces does not link the vertices of the box. What have I done wrong ?

Thank you very much for your help

claude

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
For additional commands, e-mail: interest-help@java3d.dev.java.net