Mercurial > hg > Game > Cerium
diff Renderer/Engine/SceneGraph.cc @ 1254:34944900f266 draft
minor fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Nov 2011 16:56:11 +0900 |
parents | 636dfdc30176 |
children | 39016616cc26 |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraph.cc Wed Nov 16 12:39:07 2011 +0900 +++ b/Renderer/Engine/SceneGraph.cc Fri Nov 18 16:56:11 2011 +0900 @@ -135,6 +135,10 @@ matrix[i] = 0; real_matrix[i] = 0; } + for (int i = 0; i < 4; i++) { + matrix[i*4+i] = 1; + real_matrix[i*4+i] = 1; + } finalize = &SceneGraph::finalize_copy;