diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-09-10 16:21:21 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-09-10 16:21:21 -0400 |
commit | e19f8046b479790a9b5f8feedf8a13678f75d350 (patch) | |
tree | 8940ac6f89115e0c5bfee37e49ab405d4b2bd24e /project.py | |
parent | 9ab99907d1969822285741256384ad853ca859b8 (diff) | |
download | chroma-e19f8046b479790a9b5f8feedf8a13678f75d350.tar.gz chroma-e19f8046b479790a9b5f8feedf8a13678f75d350.tar.bz2 chroma-e19f8046b479790a9b5f8feedf8a13678f75d350.zip |
add ray_intersection unit test.
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ import numpy as np from itertools import repeat from chroma.transform import rotate, normalize -def from_film(position, axis1=(0,0,1), axis2=(1,0,0), size=(800,600), +def from_film(position=(0,0,0), axis1=(0,0,1), axis2=(1,0,0), size=(800,600), width=0.035, focal_length=0.018): """Project rays from a piece of film located at whose focal point is located at `position`. `axis1` and `axis2` specify the vectors pointing |