C Arrays Exporter

Hi, I made this exporter to make simple blender models easily accessible from C/C++ code. It exports meshes to plain C arrays, like this:

static const float Cube_vertices[] = {
    // vertices
}

static const unsigned int Cube_indices[] = {
    // face indices
}

static const float Cube_normals[] = {
    // vertex normals
}

I think this script could be included in blender.

Bye!
Exeivier.

Here is a link to the file (I’t would be best if someone could post it as an attachment):

http://www.freedrive.com/public/pview/122/c_arrays_export.txt

don’t forget to rename it to .py extension.