After all, thanks a lot for your patient and for your suggestions.
I cant see why this code works because x[i], y[i] and z[i] are floating values. And I dont know why theese points are the control points of my surface in opengl.
Nevertheless, im going to try this....
As I thought, compiler says me that x[i]... are not integral values. And no compile the program.
Bookmarks