--- a/src/raytracermodule.cc Thu Oct 25 16:40:22 2007 +0200
+++ b/src/raytracermodule.cc Mon Oct 29 15:50:17 2007 +0100
@@ -7,6 +7,7 @@
*/
#include <Python.h>
+
#include <vector>
#include "scene.h"
#include "raytracer.h"
@@ -446,7 +447,7 @@
if (!PyArg_ParseTuple(args, "(ii)", &w, &h))
return NULL;
- printf("[PyRit] Raytracing...\n");
+ printf("[pyrit] Raytracing...\n");
data = ((RaytracerObject *)self)->raytracer->render(w, h);
if (!data) {
Py_INCREF(Py_None);
@@ -454,7 +455,7 @@
}
// convert data to char
- printf("[PyRit] Converting image data (float to char)...\n");
+ printf("[pyrit] Converting image data (float to char)...\n");
chardata = (char *) malloc(w*h*3);
float *d = data;
for (char *c = chardata; c != chardata + w*h*3; c++, d++) {
@@ -466,7 +467,7 @@
free(data);
o = Py_BuildValue("s#", chardata, w*h*3);
free(chardata);
- printf("[PyRit] Done.\n");
+ printf("[pyrit] Done.\n");
return o;
}