Quad dimension diferent than box

Hello,



I have a dummy doubt. When I tryed to instantiate a quad (which I’ve understood as a plane shape) I’ve faced some problems with my texture (it was being cutted). At first I fought that I was making something terrible wrong and lost a big time serching for answers, but than I tryed to use a Box and it worked.



Looks like the two shapes have diferent units or something? An I doing something wrong, I mean, is this expected?



There is a PIC

http://i.imgur.com/58fnV.png



And a part of the code

[java]Box b = new Box(Vector3f.ZERO, 1, 1, 1);

Geometry geom = new Geometry(“Box”, b);



Quad q = new Quad( 1 , 1 );

Geometry g = new Geometry(“Quad” , q);



Material mat = new Material(assetManager, “Common/MatDefs/Misc/Unshaded.j3md”);

mat.setColor(“Color”, ColorRGBA.Blue);

geom.setMaterial(mat);

g.setMaterial(mat);



g.setLocalTranslation(1, 0, 0);



rootNode.attachChild(geom);

rootNode.attachChild(g);[/java]

The box values are halfextents while for the quad is the side lengths, everything as intended. Look at the javadoc of the constructor.

Hum.



Okay, I think I’ve missed that one. Thanks for the quick answer.