I recently started coding with xna and am having problems with vertex declarations. I'm running through a book that is teaching me how to use this program and I'm stuck.
It gave me a line of code to write:
VertexDeclaration vertexdeclaration = new vertexdeclaration (graphicsdevice gfx.GraphicsDevice, vertexelement elements);
when I type this code i get two error statements one saying that i need a ')' where the gfx is and one saying I need a ';' where the ) is. (pg 33 of the Microsoft XNA game studio creator's guide in case anyone by magical chance has the same book). What did I do wrong?
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users