Quote:

don't you mean *(pVerts + 1) instead of &(pVerts + 1)?



Oh yea, ofcourse. As you can see I'm still sometimes making errors with pointers aswell.

Have you tried to copy/paste my code in lite-c? I don't know what the problem could be as I've not used lite-c extensively yet. My code doesn't use any C++ specific constructs, so you should be able to use it in lite-c aswell (maybe remove the type conversion macros).

Do you need this for your newton plugin, or for this plugin? Are you planning on doing this plugin, once you get the hang of d3d? I've given the algorithm some thought and I must admit it hurts my brain.