summaryrefslogtreecommitdiff
path: root/camera.py
diff options
context:
space:
mode:
Diffstat (limited to 'camera.py')
-rwxr-xr-xcamera.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/camera.py b/camera.py
index fa38060..98ea1fc 100755
--- a/camera.py
+++ b/camera.py
@@ -4,12 +4,12 @@ from itertools import product, count
from threading import Thread, Lock
import os
import sys
-from color import map_wavelength, map_to_color
+from chroma.color import map_wavelength, map_to_color
import matplotlib.pyplot as plt
-from gpu import GPU, CUDAFuncs
-from tools import timeit
-from transform import rotate
+from chroma.gpu import GPU, CUDAFuncs
+from chroma.tools import timeit
+from chroma.transform import rotate
import pygame
from pygame.locals import *
@@ -483,11 +483,11 @@ if __name__ == '__main__':
import optparse
import inspect
- import solids
- import detectors
- import scenes
- from stl import mesh_from_stl
- from view import build
+ import chroma.solids
+ import chroma.detectors
+ import chroma.scenes
+ from chroma.stl import mesh_from_stl
+ from chroma.view import build
parser = optparse.OptionParser('%prog filename.stl')
parser.add_option('-b', '--bits', type='int', dest='bits',
@@ -511,7 +511,7 @@ if __name__ == '__main__':
obj = mesh_from_stl(args[0])
else:
- members = dict(inspect.getmembers(detectors) + inspect.getmembers(solids) + inspect.getmembers(scenes))
+ members = dict(inspect.getmembers(chroma.detectors) + inspect.getmembers(chroma.solids) + inspect.getmembers(chroma.scenes))
buildable_lookup = {}
for member in members.values():