equal
deleted
inserted
replaced
420 return NULL; |
420 return NULL; |
421 |
421 |
422 v = PyObject_New(RaytracerObject, &RaytracerType); |
422 v = PyObject_New(RaytracerObject, &RaytracerType); |
423 v->raytracer = new Raytracer(); |
423 v->raytracer = new Raytracer(); |
424 v->children = new vector<PyObject*>(); |
424 v->children = new vector<PyObject*>(); |
|
425 v->raytracer->setCamera(new Camera()); |
425 |
426 |
426 return (PyObject*)v; |
427 return (PyObject*)v; |
427 } |
428 } |
428 |
429 |
429 static void Raytracer_Destructor(PyObject* self) |
430 static void Raytracer_Destructor(PyObject* self) |