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:
1 parent
c32e826ee3
commit
f03b19a022
4 files changed
+34
-3
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user