Write a line of code that will perform affine transformation
<p>What would be the easiest way to do this in c#</p>

<p>to rotate 45 degrees on the X axis</p>

<p>and Move by 2 units in the x-direction, 3 units in the y-direction, and -1
unit in the z-direction</p>

<p>here is the code i am using</p>

<pre><code>using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;

namespace MatrixExample
{
    public class GameFunction : Microsoft.Xna.Framework.Game
    {

        Box box;
        Vector3 ourVector;

        float scaleAmount = 0.0f;
        float rotateAmount = 0.0f;
        float xPosition = 0.0f;
        float yPosition = 0.0f;
        float zPosition = 0.0f;


        public void updateVector()
        {

            Matrix transformationMatrix = Matrix.Identity;





            Vector3 transformedVector = Vector3.Transform(ourVector, transformationMatrix);
            ourVector = transformedVector;
        }


        public void updateBox()
        {

            Matrix transformationMatrix = Matrix.Identity;



            box.DrawMatrix = transformationMatrix;
        }

 Drawing Code
}
}
</code></pre>

<p>i dont need to touch the drawing code</p>
