summaryrefslogtreecommitdiff
path: root/project.py
diff options
context:
space:
mode:
authorAnthony LaTorre <tlatorre9@gmail.com>2011-09-10 16:21:21 -0400
committerAnthony LaTorre <tlatorre9@gmail.com>2011-09-10 16:21:21 -0400
commite19f8046b479790a9b5f8feedf8a13678f75d350 (patch)
tree8940ac6f89115e0c5bfee37e49ab405d4b2bd24e /project.py
parent9ab99907d1969822285741256384ad853ca859b8 (diff)
downloadchroma-e19f8046b479790a9b5f8feedf8a13678f75d350.tar.gz
chroma-e19f8046b479790a9b5f8feedf8a13678f75d350.tar.bz2
chroma-e19f8046b479790a9b5f8feedf8a13678f75d350.zip
add ray_intersection unit test.
Diffstat (limited to 'project.py')
-rw-r--r--project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project.py b/project.py
index 10254f2..7d9cabe 100644
--- a/project.py
+++ b/project.py
@@ -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