class LightRay

Ray emitted by light source. More...

Definition#include <raytracer/lightray.h>
InheritsRay [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Members


Detailed Description

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:
blockingerrorReturns 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]