#pragma once

#include "Vector3.h"

typedef Vector3 Color;

class Material
{
public:
	Material();
	virtual ~Material();

	void setColor(Color& color);
	Color getColor(void) const;
	void setDiffuse(double diffuse);
	double getDiffuse(void) const;
	
	void setReflection(double refl);
	double GetReflection(void) const;
	double getSpecular(void) const;
	
protected:
	Color color;
	float refl;
	float diff;
};


#pragma once

#include "Vector3.h"

typedef Vector3 Color;

class Material
{
public:
	Material();
	virtual ~Material();

	void setColor(Color& color);
	Color getColor(void) const;
	void setDiffuse(double diffuse);
	double getDiffuse(void) const;
	
	void setReflection(double refl);
	double GetReflection(void) const;
	double getSpecular(void) const;
	
protected:
	Color color;
	double refl;
	double diff;
};


Fix double / float mismatch
Fix double / float mismatch
