WireframeCuboid box = new WireframeCuboid(8,63,4, 9,64,5);
box.setLineStyle(Color.GOLD.copy(), 3.0F, true);
ShapeScale scale = new ShapeScale(0.5, 1.0, 2.0);
box.addTransform(scale);
libShapeDraw.addShape(box);
scale.animateStartLoop(2.0, 1.0, 0.5, true, 4500);
// Since this is a simple WireframeCuboid, we could have animated
// box.getLowerCorner() and box.getUpperCorner() instead of using a
// ShapeScale OpenGL transform. Either method is valid, but simplicity
// is good.