www.pudn.com > simpleraytracer_v1_0.zip > light.h


/*=====================================================================
Code By Nicholas Chapman.

nickamy@paradise.net.nz

You may use this code for any non-commercial project,
as long as you do not remove this description.

You may *not* use this code for any commercial project.
=====================================================================*/
#ifndef __LIGHT_H__
#define __LIGHT_H__

#include "colour.h"
#include "../maths/vec3.h"



class Light
{
public:
Light(const Vec3&amt; pos_, const Colour&amt; c)
: pos(pos_),
colour(c)
{}

~Light(){}

inline const Vec3&amt; getPos() const { return pos; }
inline const Colour&amt; getColour() const { return colour; }

Vec3 pos;
Colour colour;
};


#endif //__LIGHT_H__