switch (type) {
switch (alignment) {
    public void rotateBillboard(Camera cam) {        // get the scale, translation and rotation of the node in world space        updateWorldVectors();        switch (type) {            case AXIAL_Y:                rotateAxial(cam, Vector3f.UNIT_Y);                break;            case AXIAL_Z:                rotateAxial(cam, Vector3f.UNIT_Z);                break;            case SCREEN_ALIGNED:                rotateScreenAligned(cam);                break;            case CAMERA_ALIGNED:                rotateCameraAligned(cam);                break;        }        if (children == null) return;        for (int i = 0, cSize = getChildren().size(); i < cSize; i++) {            Spatial child = (Spatial) getChildren().get(i);            if (child != null) {                child.updateGeometricState(lastTime, false);            }        }    }