| Poster | : AP93 | | Posts | : 1 | | Country | : england | | City | : London |
| | | | Posted by AP93 on 14/11/2008 at 15:52:53
| | Hi, great tutorials, though when I run the program, an error message comes up with;
'This method does not accept null for this parameter.
Parameter name: vertexData'
This problem is with this line of code;
device.DrawUserPrimitives(PrimitiveType.TriangleList, vertices, 0, 1);
Can you help, or am I missing something?
| |
|
|
| |
| |
| Poster | : Anonymous | | Posts | : | | Country | : | | City | : |
| | | | Posted by Anonymous on 27/08/2010 at 15:35:36
| | | Hey I just had the same problem and found a stupid mistake I missed and thought I would let you know incase you were having the same problem. When I declared the VertexPositionColor I forgot to put the [] behind so the program didn't read it as an array yet I kept feeding it vertices like it was. Hope that helps. | |
|
|
| |
| |
| Poster | : Anonymous | | Posts | : | | Country | : | | City | : |
| | | | Posted by Anonymous on 03/09/2010 at 05:48:35
| | | msRFfn <a href="http://yollgwzqhizb.com/">yollgwzqhizb</a>, [url=http://enkchamgifol.com/]enkchamgifol[/url], [link=http://vgoinicklkbu.com/]vgoinicklkbu[/link], http://wwrifnyfxcgi.com/ | |
|
|