@Override
	public Model getRotatedModel() {
		Model model = spotAnimation.getModel();
		if (model == null) {
			return null;
		}
		int j = spotAnimation.sequence.frames[anInt1569];
		Model model_1 = new Model(true, Animation.isNullFrame(j), false, model);
		if (!aBoolean1567) {
			model_1.skin();
			model_1.transform(j);
			model_1.triangleSkin = null;
			model_1.vertexSkins = null;
		}
		if (spotAnimation.scaleXY != 128 || spotAnimation.scaleZ != 128) {
			model_1.scale(spotAnimation.scaleXY, spotAnimation.scaleXY, spotAnimation.scaleZ);
		}
		if (spotAnimation.rotation != 0) {
			if (spotAnimation.rotation == 90) {
				model_1.method473();
			}
			if (spotAnimation.rotation == 180) {
				model_1.method473();
				model_1.method473();
			}
			if (spotAnimation.rotation == 270) {
				model_1.method473();
				model_1.method473();
				model_1.method473();
			}
		}
		model_1.processLighting(64 + spotAnimation.lightness, 850 + spotAnimation.shading, -30, -50, -30, true);
		return model_1;
	}