Normals in Boxes

If I have two Boxes



Box b1 = new Box("myBox", new Vector3f(0,0,0), new Vector3f(1,1,1));



Box b2 = new Box("myBox", new Vector3f(1,1,1), new Vector3f(0,0,0));



then in b1 the normals point outwards, and in b2 inwards. Depending on the combination of 0's and 1's I can get mixed inwards and outwards normals.



My question is: Is it a bug or a feature? Do I just have to be careful to use the right points, or should the Box generate outward normals by default?



(Please excuse my English, I hope you know what I mean)

since the definition is "public Box(String name, Vector3f min, Vector3f max) I think one can assume that min<max for a normal box to be generated…I might want the normals to point inwards, and then do min > max…min and max are the coordinates around (0,0,0) to generate vertices for.



normal creation of a box is usually just (name, -size, size)…

name, -size/2, size/2

or name, -size2/4, size2/4