fart/main/Lighting.h
2009-02-10 01:09:07 +00:00

27 lines
622 B
C++

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