from operation_vector import * class Sphere: def __init__(self, coord, rayon, material): self.centre = coord self.radius = rayon self.material = material class Material: def __init__(self, color, ambiant, diffuse, specular, shininess, reflection): self.color = color self.ambiant = ambiant self.diffuse = diffuse self.specular = specular self.shininess = shininess self.reflection = reflection class Scene: def __init__(self): self.object_list = [] self.light_list = [] def add_object(self, o): self.object_list.append(o) def add_light(self, l): self.light_list.append(l)