| Poster | : neohelios | | Posts | : 2 | | Country | : USA | | City | : blah |
| | | | Posted by neohelios on 22/11/2009 at 23:04:49
| | I got a little tripped up, but figured it out.
When coding all this in, the Vector4 could not be found in the references I chose (Microsoft.DirectX.Direct3D).
Only using Microsoft.DirectX.Direct3D worked with the first two tutorials, but then the VECTOR4 error message.
I dug around a bit, and eventually figured it out. Turns out the Visual Studio was TELLING me the answer in the debug error message, but I was too stubborn to follow it! (If I had a dollar for every time...)
I wonder how Visual Studio knew which reference contained VECTOR4... spooky.
ANYWHO I needed to ALSO reference the Microsoft.DirectX set. Not sure if I need both right now, but I guess keeping both of them in the references will not hurt...
FYI using version 1.0.2902, but ymmv. | |
|
|