Mercurial > hg > Game > Cerium
comparison 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 |
comparison
equal
deleted
inserted
replaced
1252:7ee76065ec12 | 1254:34944900f266 |
---|---|
132 texture_info->texture_id = -1; | 132 texture_info->texture_id = -1; |
133 | 133 |
134 for (int i = 0; i < 16; i++) { | 134 for (int i = 0; i < 16; i++) { |
135 matrix[i] = 0; | 135 matrix[i] = 0; |
136 real_matrix[i] = 0; | 136 real_matrix[i] = 0; |
137 } | |
138 for (int i = 0; i < 4; i++) { | |
139 matrix[i*4+i] = 1; | |
140 real_matrix[i*4+i] = 1; | |
137 } | 141 } |
138 | 142 |
139 | 143 |
140 finalize = &SceneGraph::finalize_copy; | 144 finalize = &SceneGraph::finalize_copy; |
141 | 145 |