@Override
    public Model getRotatedModel() {
        Model model = spotAnimation.getModel();
        if (model == null) {
            return null;
        }
        int frameId = -1;
        if (spotAnimation.sequence != null) {
            frameId = spotAnimation.sequence.frames[relapsedFrames];
        }
        Model model_1 = new Model(true, Animation.isNullFrame(frameId), false, model);
        if (frameId != -1) {
            model_1.skin();
            model_1.transform(frameId);
            model_1.triangleSkin = null;
            model_1.vertexSkins = null;
        }
        if (spotAnimation.scaleXY != 128 || spotAnimation.scaleZ != 128) {
            model_1.scale(spotAnimation.scaleXY, spotAnimation.scaleXY, spotAnimation.scaleZ);
        }
        model_1.method474(anInt1596);
        model_1.processLighting(64 + spotAnimation.lightness, 850 + spotAnimation.shading, -30, -50, -30, true);
        return model_1;
    }