nodeVerts[0].verts[0] = vertArray.verts[0];
nodeVerts and vertArray are both VertexArray's... the .verts is a struct, defined in VertexArray as: Vertex *verts;
Now, I'm able to access other variables using similiar code (ie, nodeVerts[0].numberOfVerts = 10; ), so I'm pretty sure something is wrong with my access to the struct array.
What am I doin' wrong?
EDIT: code made a smiley face
[edited by - ichor on April 5, 2004 11:31:34 PM]
Access violation how to access...
I'm getting an access violation when trying to copy vertices over from one vertex array to another.
The line of code is:
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement