added a point light to the scene
commit3b61a1d3f7d48bfbbc1b20359796248d0917a357
authorplouj <plouj@b8c14938-b733-429d-887c-d66ed1f8cd15>
Tue, 8 Jan 2008 23:31:35 +0000 (8 23:31 +0000)
committerplouj <plouj@b8c14938-b733-429d-887c-d66ed1f8cd15>
Tue, 8 Jan 2008 23:31:35 +0000 (8 23:31 +0000)
treed51b2702ec172ea66edacc41d92b1a1b081f158f
parent0dd5d985bb4561048ca44adfa9f7ed115ff1093b
added a point light to the scene
changed colour macros to create colour records
updated the code that uses colour to use colour records
added some record conversion funstions (colour->vector, vector->colour, colour->pixel)
updated the scene test

git-svn-id: http://svn.plouj.com/repos/eraytracer@17 b8c14938-b733-429d-887c-d66ed1f8cd15
raytracer.erl