Tag Archives: matrix

Matrix multiplication in C++

Matrices can be used to perform transformations. For example, in 2D and 3D space. Transformations include, but are not limited to, rotating, scaling and translating. Transformations can be combined by multiplying the matrices with each other. For example, you might want to: scale an object with a factor of 2 rotate it 45 degrees around the [...]

Posted in C++ | Also tagged , , , , , , , , , , , , , | 2 Comments

Creating the World, View and Projection matrices in XNA

The World, Projection and View matrices are used in XNA to project your 3D world on your 2D computer screen. The theory behind 3D projection can be found here.

Posted in C# | Also tagged , , , , , , , , , , , , | Leave a comment