From e19f8046b479790a9b5f8feedf8a13678f75d350 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Sat, 10 Sep 2011 16:21:21 -0400 Subject: add ray_intersection unit test. --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'project.py') 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 -- cgit