java 3d rectangles