@Override
public void load() {
libShapeDraw.verifyInitialized();
// Set up a wireframe cone pointing downward
GLUCylinder shape = new GLUCylinder(
new Vector3(14, 93, 0),
Color.HOT_PINK.copy(),
Color.HOT_PINK.copy().scaleAlpha(XrayShape.SECONDARY_ALPHA),
2.5F, Float.MIN_NORMAL, 5.0F);
shape.setSlices(12).setStacks(8).setWireframe(true, 3.0F);
Vector3 vector = new Vector3();
shape.addTransform(new ShapeTranslate(vector));
shape.addTransform(new ShapeRotate(90.0, Axis.X)); // upright
libShapeDraw.addShape(shape);
// Animate it with a custom Timeline, using a Sine ease. This makes
// the animation start out fast, then slow down at the end of each
// cycle.