| Poster | : Dave311 | | Posts | : 1 | | Country | : Australia | | City | : Brisbane |
| | | | Posted by Dave311 on 21/01/2012 at 22:25:40
| | I do not understand how this would compile.
I have tried typing it all out manually, and also just copying and pasting directly from your code and neither works.
The problem are the lines
Matrix.worldMatrix = Matrix.CreateRotationY(3 * angle);
effect.Parameters["xWorld"].SetValue(worldMatrix);
The problem being that Microsoft.Xna.Framework.Matrix does not have a default definition of the term 'worldMatrix' and no where in your code appears to define it before trying to use it either.
Am I missing something here or has there been a change to the XNA language format? | |
|
|