added messages to main/Scene, util/Matrix constructor sets matrix to identity

git-svn-id: svn://anubis/fart/trunk@37 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2009-01-23 14:57:47 +00:00
1 parent c32e826ee3
commit f03b19a022
4 files changed
+34 -3

No files matched your search

+8
View File
@@ -8,6 +8,14 @@
Matrix::Matrix()
{
/* set matrix to the identity matrix */
for (int i = 0; i < 4; i++)
{
for (int j = 0; j < 4; j++)
{
m_matrix[i][j] = i == j ? 1.0 : 0.0;
}
}
m_inverse_calculated = false;
}