예제 #1
0
파일: cone.py 프로젝트: oseiskar/raytracer
 def __init__(self, pos, axis, slope):
     ConvexIntersection.Component.__init__(self, pos)
     self.axis = normalize_tuple(axis)
     self.slope = slope
예제 #2
0
 def __init__(self, normal, h):
     ConvexIntersection.Component.__init__(self)
     
     self.normal = normalize_tuple(normal)
     self.h = h
예제 #3
0
 def __init__(self, normal, h):
     Tracer.__init__(self)
     self.normal = normalize_tuple(normal)
     self.h = h
예제 #4
0
 def __init__(self, axis, R):
     ConvexIntersection.Component.__init__(self)
     self.axis = normalize_tuple(axis)
     self.R = R