|
|
Ray emitted by light source. Used for shadow tests.
| LightRay (const Vector3& start, const Vector3& end, Scene* s,
const Colour3 lightcolour, const InsideList* l)
| LightRay |
| ~LightRay ()
| ~LightRay |
| Colour3 shoot (CLR& blockingerror)
| shoot |
Shoots the ray.
Parameters:
| blockingerror | Returns error that originates if the light would be blocked/not blocked. |
Returns: Light colour that arrives at end point.
| Scene* myscene | myscene |
[private]
| Colour3 colour | colour |
[private]
| InsideList inside | inside |
[private]
| DBL length | length |
[private]