It is written in ActionScript 3.0. But the code is very basic and straight forward so I don't think it's will be a problem even if you are not familiar with ActionScript.
By commenting an uncommenting the following lines (in 3DGraphics.as) you can switch between the orthographic projection and perspective projection matrix. As you can see when just using the orthographic projection matrix it works fine. But with the perspective it doesn't.
// Ortographic and perspective // mP = mPers.multiplyMatrix(mOrto);
// Just ortographic mP = mOrto;
Any help on why my perspective matrix isn't working is appreciated.
The perspective matrix looks like this. In a column major order: