// Path: MarsImages/Rajawali/src/main/java/rajawali/lights/ALight.java
// public abstract class ALight extends ATransformable3D {
// 	public static final int DIRECTIONAL_LIGHT = 0;
// 	public static final int POINT_LIGHT = 1;
// 	public static final int SPOT_LIGHT = 2;
// 
// 	protected float[] mColor = new float[] { 1.0f, 1.0f, 1.0f };
// 	protected float[] mPositionArray = new float[3];
// 	protected float[] mDirectionArray = new float[3];
// 	protected float mPower = .5f;
// 	private int mLightType;
// 
// 	protected boolean mUseObjectTransform;
// 
// 	public ALight(int lightType) {
// 		super();
// 		mLightType = lightType;
// 	}
// 
// 	public void setColor(final float r, final float g, final float b) {
// 		mColor[0] = r;
// 		mColor[1] = g;
// 		mColor[2] = b;
// 	}
// 
// 	public void setColor(int color) {
// 		mColor[0] = ((color >> 16) & 0xFF) / 255f;
// 		mColor[1] = ((color >> 8) & 0xFF) / 255f;
// 		mColor[2] = (color & 0xFF) / 255f;
// 	}
// 
// 	public void setColor(Number3D color) {
// 		mColor[0] = color.x;
// 		mColor[1] = color.y;
// 		mColor[2] = color.z;
// 	}
// 
// 	public float[] getColor() {
// 		return mColor;
// 	}
// 
// 	public void setPower(float power) {
// 		mPower = power;
// 	}
// 
// 	public float getPower() {
// 		return mPower;
// 	}
// 
// 	public boolean shouldUseObjectTransform() {
// 		return mUseObjectTransform;
// 	}
// 
// 	public void shouldUseObjectTransform(boolean useObjectTransform) {
// 		this.mUseObjectTransform = useObjectTransform;
// 	}
// 
// 	public int getLightType() {
// 		return mLightType;
// 	}
// 
// 	public void setLightType(int lightType) {
// 		this.mLightType = lightType;
// 	}
// 
// 	public float[] getPositionArray() {
// 		mPositionArray[0] = mPosition.x;
// 		mPositionArray[1] = mPosition.y;
// 		mPositionArray[2] = mPosition.z;
// 		return mPositionArray;
// 	}
// }


import rajawali.lights.ALight;
import android.graphics.Color;
import android.opengl.GLES20;
import com.monyetmabuk.livewallpapers.photosdof.R;
	}
	
	public void setSpecularColor(float r, float g, float b, float a) {
		mSpecularColor[0] = r;
		mSpecularColor[1] = g;
		mSpecularColor[2] = b;
		mSpecularColor[3] = a;
	}
	
	public void setSpecularColor(int color) {
		setSpecularColor(Color.red(color) / 255f, Color.green(color) / 255f, Color.blue(color) / 255f, Color.alpha(color) / 255f);
	}
	
	public void setSpecularIntensity(float[] intensity) {
		mSpecularIntensity = intensity;
	}
	
	public void setSpecularIntensity(float r, float g, float b, float a) {
		mSpecularIntensity[0] = r;
		mSpecularIntensity[1] = g;
		mSpecularIntensity[2] = b;
		mSpecularIntensity[3] = a;
	}
	
	public void setShaders(String vertexShader, String fragmentShader)
	{
		StringBuffer vc = new StringBuffer();
		vc.append("float power = 0.0;\n");

		for(int i=0; i<mLights.size(); ++i) {
// Path: MarsImages/Rajawali/src/main/java/rajawali/lights/ALight.java
// public abstract class ALight extends ATransformable3D {
// 	public static final int DIRECTIONAL_LIGHT = 0;
// 	public static final int POINT_LIGHT = 1;
// 	public static final int SPOT_LIGHT = 2;
// 
// 	protected float[] mColor = new float[] { 1.0f, 1.0f, 1.0f };
// 	protected float[] mPositionArray = new float[3];
// 	protected float[] mDirectionArray = new float[3];
// 	protected float mPower = .5f;
// 	private int mLightType;
// 
// 	protected boolean mUseObjectTransform;
// 
// 	public ALight(int lightType) {
// 		super();
// 		mLightType = lightType;
// 	}
// 
// 	public void setColor(final float r, final float g, final float b) {
// 		mColor[0] = r;
// 		mColor[1] = g;
// 		mColor[2] = b;
// 	}
// 
// 	public void setColor(int color) {
// 		mColor[0] = ((color >> 16) & 0xFF) / 255f;
// 		mColor[1] = ((color >> 8) & 0xFF) / 255f;
// 		mColor[2] = (color & 0xFF) / 255f;
// 	}
// 
// 	public void setColor(Number3D color) {
// 		mColor[0] = color.x;
// 		mColor[1] = color.y;
// 		mColor[2] = color.z;
// 	}
// 
// 	public float[] getColor() {
// 		return mColor;
// 	}
// 
// 	public void setPower(float power) {
// 		mPower = power;
// 	}
// 
// 	public float getPower() {
// 		return mPower;
// 	}
// 
// 	public boolean shouldUseObjectTransform() {
// 		return mUseObjectTransform;
// 	}
// 
// 	public void shouldUseObjectTransform(boolean useObjectTransform) {
// 		this.mUseObjectTransform = useObjectTransform;
// 	}
// 
// 	public int getLightType() {
// 		return mLightType;
// 	}
// 
// 	public void setLightType(int lightType) {
// 		this.mLightType = lightType;
// 	}
// 
// 	public float[] getPositionArray() {
// 		mPositionArray[0] = mPosition.x;
// 		mPositionArray[1] = mPosition.y;
// 		mPositionArray[2] = mPosition.z;
// 		return mPositionArray;
// 	}
// }


// Path: MarsImages/Rajawali/src/main/java/rajawali/materials/GouraudMaterial.java
import rajawali.lights.ALight;
import android.graphics.Color;
import android.opengl.GLES20;
import com.monyetmabuk.livewallpapers.photosdof.R;

	}
	
	public void setSpecularColor(float r, float g, float b, float a) {
		mSpecularColor[0] = r;
		mSpecularColor[1] = g;
		mSpecularColor[2] = b;
		mSpecularColor[3] = a;
	}
	
	public void setSpecularColor(int color) {
		setSpecularColor(Color.red(color) / 255f, Color.green(color) / 255f, Color.blue(color) / 255f, Color.alpha(color) / 255f);
	}
	
	public void setSpecularIntensity(float[] intensity) {
		mSpecularIntensity = intensity;
	}
	
	public void setSpecularIntensity(float r, float g, float b, float a) {
		mSpecularIntensity[0] = r;
		mSpecularIntensity[1] = g;
		mSpecularIntensity[2] = b;
		mSpecularIntensity[3] = a;
	}
	
	public void setShaders(String vertexShader, String fragmentShader)
	{
		StringBuffer vc = new StringBuffer();
		vc.append("float power = 0.0;\n");

		for(int i=0; i<mLights.size(); ++i) {
			ALight light = mLights.get(i);