fart/main/Lighting.h
Josh Holtrop cda03ad45a moved main/Material to util/Material
git-svn-id: svn://anubis/fart/trunk@136 7f9b0f55-74a9-4bce-be96-3c2cd072584d
2009-02-19 18:45:52 +00:00

27 lines
635 B
C++

#ifndef LIGHTING_H
#define LIGHTING_H LIGHTING_H
#include "Light.h"
#include "util/Ray.h"
#include "util/Color.h"
#include "util/Material.h"
#include "util/refptr.h"
#include <vector>
class Lighting
{
public:
static Color computePhong(const refptr<Material> material,
const std::vector< refptr<Light> > & lights,
const Ray & viewRay,
const Vector & surfacePoint,
const Vector & surfaceNormal,
const Color & ambientLight);
protected:
};
#endif